|01-25-2012, 10:17 AM||#1|
Join Date: Jan 2012
Kindle Not Recognizing My Homemade Table of Contents
I have created an e-book (a rather elaborate one). It had about 300+ footnotes and links to each of them throughout the body of the text. In addition, the book has two tables of contents - one which is a guide to the main book, the other which is a guide to the different footnotes. As I said, it's a complicated e-book.
Anyway, I am basically finished formatting and creating hyperlinks. The book is all but finished. My only problem is, Calibre's automatic table of contents creator generates a very screwed up table of contents (because of all the crazy links as I mentioned above). As such, I disabled its automatic table of contents creation. As a result, however, when I test the book in my Kindle, it comes up with no recognized Table of Contents. The TOC which I created is there, of course, but if you click "Menu", "Go To", the "Table of Contents" button is greyed out and not an option.
So my question is, is there a line of code which I can insert so that the Kindle will mark off a particular body of text as being the Table of Contents?
Anybody who can answer this for me will be my new best friend.
|01-26-2012, 10:59 PM||#2|
Join Date: Oct 2010
Location: San Francisco
The TOC in the GoTo menu is set by the reference in the Guide section of the OPF file.
For TOC, Start, or Cover, there should be entries like this:
<reference type="toc" title="Table of Contents" href="filename1.html"></reference>
<reference type="start" title="Beginning" href="filename2.html"></reference>
<reference type="cover-page" title="Cover" href="filename3.html"></reference>
You can use anchor references as well but be aware that, as of this writing, Calibre has a problem with anchors for TOC (anchors are fine for cover or start). Mobipocket Creator is fine with anchors in all cases.
If you ask Calibre for a TOC and it doesn't find a proper reference in the Guide (or one it's capable of using) then it makes its own at the back (or the front if set that way).
If you need to separate your TOC into its own file, remember to add a line for it in the Manifest and Spine sections.
Stay away from special characters in the filenames as some can throw Calibre off.
|calibre, kindle, toc detection|
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Kindle DX and PDF Table of Contents||Gideon||Amazon Kindle||12||03-19-2012 06:14 PM|
|Table of contents and kindle directional pad||txgecko||Kindle Formats||3||01-06-2012 10:17 AM|
|Kindle ebooks missing table of contents||Jabby||Amazon Kindle||19||05-13-2011 07:18 PM|
|Kindle Table of Contents||BDP1||Calibre||15||12-17-2010 07:47 AM|
|Kindle: how create table of contents at the bottom line?||ganymede||Calibre||1||11-09-2010 01:43 AM|