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:
- Scan the structure of the mobi for chapter and other headings and build the TOC from these, or,
- 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?