View Single Post
Old 10-21-2010, 08:01 AM   #22
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 6,316
Karma: 4963983
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by tonhou View Post
The epub2pdf generator does a superb job of creating a TOC, but I would like to limit it to the top level.
Is this possible? What do I need to do?
Do you mean the "bookmarks" that are created for the PDF, and which you can display or hide in Acrobat for instance? Those are created by Prince, have a look here. You could add "h3 { prince-bookmark-level: none; }" or similar to the additional CSS, it depends on how the specific ePUB is coded.

If you mean an inline TOC, which appears just as a normal page (or many pages) in the PDF, then that's hard-coded in the ePUB, and you'd have to edit it.
Jellby is online now   Reply With Quote