11-12-2009, 08:13 AM | #1 |
Guru
Posts: 718
Karma: 1085610
Join Date: Mar 2009
Location: Bristol, England
Device: PRS-T1, 1825PT, Galaxy Tab, One X, TF700T, Aura HD, Nexus 7
|
Inserting a Table of Contents
If the file format you are using (e.g. epub) can have a separate TOC, is there any benefit of also inserting a TOC within the main text area?
|
11-12-2009, 10:36 AM | #2 |
frumious Bandersnatch
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Yes, as long as not all reading software support off-line TOCs. In ePUB you can have the linear="no" property for the in-line TOC, hoping that reading software supporting off-line TOCs also support that property and thus hide the in-line TOC from the text flow (as Calibre does).
|
Advert | |
|
11-12-2009, 04:55 PM | #3 |
Guru
Posts: 718
Karma: 1085610
Join Date: Mar 2009
Location: Bristol, England
Device: PRS-T1, 1825PT, Galaxy Tab, One X, TF700T, Aura HD, Nexus 7
|
Hmm, ok, I understand what you mean, but I'm not sure how I do this. Could you give me a quick example?
|
11-13-2009, 08:42 AM | #4 |
frumious Bandersnatch
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Sure, any of my ePUBs has it. Try The Picture of Dorian Gray, for instance.
It has an external (off-line) TOC, in the toc.ncx file, and it has an in-line TOC too in Contents.xhtml. In the <spine> element of the OPF file, Contents.xhtml is defined as linear="no", so Calibre will not show this in-line TOC when paging forward or backward through the book, but Calibre can read the TOC from the toc.ncx file. Other readers may not support the external TOC (and I hope they will then ignore the linear="no"). Yet other readers (like ADE) do support the external TOC and ignore the linear="no", so you actually get the two TOCs there. |
11-13-2009, 10:57 AM | #5 |
Guru
Posts: 718
Karma: 1085610
Join Date: Mar 2009
Location: Bristol, England
Device: PRS-T1, 1825PT, Galaxy Tab, One X, TF700T, Aura HD, Nexus 7
|
Thanks Jellby.
I'll have alook at that epub. |
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Table of Contents | peterinnes | Sigil | 1 | 09-29-2010 03:03 AM |
Help with my Table of Contents | Skylinefranc | Calibre | 0 | 03-19-2010 12:55 AM |
How to: table of contents | wizzofoz | Sigil | 1 | 10-08-2009 08:22 AM |
only the table of contents | wang960 | Sony Reader | 3 | 08-29-2008 12:45 PM |
Creator Table of Contents | Nate the great | Kindle Formats | 5 | 07-10-2008 05:55 AM |