09-16-2010, 05:51 PM | #1 |
Banned
Posts: 640
Karma: 4911
Join Date: Jul 2007
Location: Grapevine, TX
Device: iPad4
|
Multi-Level TOC
I have most of my books in Filtered HTML. They have embedded TOCs structured as:
Heading 1a Heading 2a Heading 1b Heading 2b The TOCs in the html docs look proper but when Calibre converts to epub I end up with something like this: Heading 1a Heading 1b Heading 1c Heading 2a Heading 2b etc. How do I get my epub toc to follow the proper level format of the source? Edit: I guess indenting doesn't save in these messages so let me clarify. I want: level 1 level 2 level 2 Level 1 level 2 Last edited by edbro; 09-16-2010 at 05:54 PM. |
09-16-2010, 06:26 PM | #2 |
Wizard
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
The simplest way is to open your file in Sigil after you've used Calibre to resave it. Sigil will automatically replace the TOC with it's own just by doing this, and Sigil follows the behavior you're asking for, assuming you're using h1/h2 tags for these levels.
|
Advert | |
|
09-16-2010, 06:30 PM | #3 |
creator of calibre
Posts: 44,384
Karma: 23766374
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
09-16-2010, 06:52 PM | #4 | ||
Banned
Posts: 640
Karma: 4911
Join Date: Jul 2007
Location: Grapevine, TX
Device: iPad4
|
Quote:
Quote:
|
||
09-16-2010, 06:54 PM | #5 |
creator of calibre
Posts: 44,384
Karma: 23766374
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
An embedded toc is not a metadata toc. You need touse the level TOC Xpath expressions to tell calibre how to interpret an embedded TOC
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Multi Level Headers | AJ Starr | Astak EZReader | 14 | 01-15-2010 03:26 PM |
Multi level TOC | PAQUITO | Bookeen | 1 | 12-23-2009 03:57 AM |
Multi-level Bookmark Problem | manifestor | HanLin eBook | 0 | 06-08-2009 12:38 PM |
ePub, 505 and multi-level ToC | JSWolf | Calibre | 4 | 06-04-2009 02:12 PM |
Multi-level table of contents | murraypaul | Calibre | 6 | 09-23-2008 08:49 PM |