View Single Post
Old 03-04-2011, 08:44 PM   #1
lindsayw
Author from pBook days
lindsayw is clearly one to watchlindsayw is clearly one to watchlindsayw is clearly one to watchlindsayw is clearly one to watchlindsayw is clearly one to watchlindsayw is clearly one to watchlindsayw is clearly one to watchlindsayw is clearly one to watchlindsayw is clearly one to watchlindsayw is clearly one to watchlindsayw is clearly one to watch
 
lindsayw's Avatar
 
Posts: 49
Karma: 10782
Join Date: Mar 2011
Location: Australia
Device: Kindle-3-Keyboard; 8" Android Tablet
Inactive TOC on a Kindle-3?

Can anyone advise me why MOBI files that I have self-compiled never contain a Table of Contents? I am using Calbre to compile books from multiple html files, and the first page is always named index.html and contains the hand-made TOC completely surrounded by the ul tag with id=”TOC” correctly shown – a ul tag is never used with this id anywhere else. I use the Calibre TOC-identify Wizard for converting that into the regular expression //h:ul[re:test(@id, "TOC", "i")] which looks correct to me, and it displays correctly in the Calibre Reader simulator, but NONE of my books appear to have a TOC when viewed on my Kindle-3. All other books DO have a TOC, accessible from Menu / Goto.... Table of Contents.

What am I doing wrong here?

As a side issue: this is probably a preferential thing, but why do ebook Reader “simulators” such as the one supplied with Calbre, always open new book files on the cover, while the Kindle always skips the cover and opens on the first nominated content page. I would prefer all books to open on the cover.
lindsayw is offline   Reply With Quote