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

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 10-27-2012, 11:45 AM   #1
johnbw
Agile eBooks
johnbw began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Aug 2011
Device: kindle
Question Table of Contents generation, Kindle to EPUB

Is there a way to use the toc.ncx data embedded in Kindle (mobi) books to generate the EPUB Table of Contents?

My understanding of TOC generation when converting Kindle (mobi) ebooks to EPUB is that calibre uses 2 possible approaches:
  1. Scan the structure of the mobi for chapter and other headings and build the TOC from these, or,
  2. Detect an existing html TOC in the mobi and build the EPUB TOC from this
Well-formed Kindles include toc.ncx data that is used help navigate between sections, chapters etc, and to display tics on the progress bar. Is it possible to use this toc.ncx data instead of the above approaches to generate the EPUB TOC?
Thanks!
johnbw is offline   Reply With Quote
Old 10-27-2012, 12:35 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,776
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The order is reversed (2, then 1) and MOBI (as opposed to KF8) books do not support hierarchical table of contents in the ncx, so trying to generate the epub toc from the ncx would break badly on such books.
kovidgoyal is offline   Reply With Quote
Advert
Reply

Tags
epub, kindle, table of contents

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Touch no table of contents of epub 3.0 tshering Kobo Reader 6 10-27-2012 01:09 PM
Problem with table of contents in ePub Terisa de morgan Conversion 1 11-17-2011 08:28 AM
CBC -> EPUB Table of Contents pookakitten Conversion 7 02-24-2011 02:21 PM
Table of Contents on ePub Matt2012 Ectaco jetBook 3 03-13-2010 01:35 PM
EPUB Table of Contents Acey Calibre 7 11-19-2008 11:35 AM


All times are GMT -4. The time now is 04:10 PM.


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