Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 10-12-2013, 04:42 PM   #1
CuttingEdge
Member
CuttingEdge doesn't litterCuttingEdge doesn't litterCuttingEdge doesn't litter
 
Posts: 13
Karma: 222
Join Date: Apr 2011
Device: Sony PRS950
TOC in Mobi books can't be seen in Calibre viewer

I recently downloaded some Public Domain books from Amazon. They are in the mobi format. When I try to read them in the Calibre viewer it looks like there is no TOC. If I do a conversion to epub there is no TOC. But on my Kindle and Kindle for PC viewer there is an active TOC. Is there any way to access this in a conversion to epub? I hope I am in the right forum for this. Thanks for any assistance.
CuttingEdge is offline   Reply With Quote
Old 10-13-2013, 05:35 AM   #2
Doitsu
Wizard
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 1,899
Karma: 4632610
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by CuttingEdge View Post
I recently downloaded some Public Domain books from Amazon.
There are lots of PD books available on Amazon and their quality varies widely. What book did you download?

Quote:
Originally Posted by CuttingEdge View Post
They are in the mobi format. When I try to read them in the Calibre viewer it looks like there is no TOC. If I do a conversion to epub there is no TOC. But on my Kindle and Kindle for PC viewer there is an active TOC.
There are two types of Kindle TOCs: HTML TOCs and NCX TOCs. Theoretically, Kindle books should have both types of TOCs, but some older books only have HTML TOCs, which cannot be automatically converted to NCX TOCs, which are required for ePubs.

However, Calibre can automatically generate NCX TOCs if you add the correct XPath expressions (Preferences > Common Options > Table of Content).

(In order to use this option you'll need to find out to the HTML code used for headings.)
Doitsu is offline   Reply With Quote
Old 10-13-2013, 06:17 PM   #3
CuttingEdge
Member
CuttingEdge doesn't litterCuttingEdge doesn't litterCuttingEdge doesn't litter
 
Posts: 13
Karma: 222
Join Date: Apr 2011
Device: Sony PRS950
Thanks Doitsu. One of the books I downloaded was Blackfeet Indian Stories by George Bird Grinnell. In the Calibre viewer it looks like there is no TOC. Inside the book is an HTML TOC like you said. I don't know much about programming and HTML so I try to muddle around using tools with a GUI interface like Calibre and Sigil to protect me from my own ignorance and help me to achieve my objectives. In this case I was able to convert the book to epub using Calibre and then use Sigil to generate a TOC. Amazingly it worked!

Thank you for the help. I checked out XPath expressions and they look a little intimidating.!!
CuttingEdge is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
TOC ends up in back of book after Calibre epub to mobi conversion ralphiedee Calibre 3 07-02-2012 11:55 AM
Calibre Viewer TOC Window speakingtohe Calibre 4 03-12-2012 11:51 AM
[old-topic]ebook-viewer: Open source, crossplatform viewer for EPUB, LIT, MOBI, etc kovidgoyal Calibre 68 05-30-2011 08:46 PM
Calibre odt to mobi ToC problems WarrenSenei Kindle Formats 0 05-01-2011 09:25 PM
Mobi page breaks in Calibre viewer DaleDe Calibre 3 04-04-2011 01:58 AM


All times are GMT -4. The time now is 08:54 AM.


MobileRead.com is a privately owned, operated and funded community.