![]() |
#16 |
Enquiring Mind
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 562
Karma: 42350
Join Date: Aug 2010
Location: London, UK
Device: Kindle 3 (WiFi)
|
That isn't the case. I created a test HTML file, with an "inline" TOC in the usual place, between the title page and chapter one, loaded it into Calibre, then converted it to MOBI format. The resulting MOBI file has the original TOC that I created, in the same place it was in before, plus a second TOC at the end of the book, which I can page to if I page through to the end of the book. It is most definitely part of the file content, and not metadata. Yes, Calibre creates a "metadata" TOC as well (NCX file), but that's a separate thing.
|
![]() |
![]() |
![]() |
#17 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,221
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The toc at the end is technically a part of the file content, but that is only because of the limitations of the MOBI format, which has no way to define a true metadata TOC (expect for periodicals). So think of the inline TOC as a metadata TOC.
|
![]() |
![]() |
Advert | |
|
![]() |
#18 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
Quote:
I have a good epub book which I've cleaned up with sigil. in epub, the TOC works fine, but when I then do epub to mobi in calibre, there is no working toc in the mobi file. I have messed with the force TOC option ( hence my other thread) but to no avail. could be it's specific to one book but I'm failing to spot how it's different to other books, which do end up with working TOC in mobi conversions. if I explode epub source & examine the toc.ncx file with notepad++ it seems to have all the correct content. I can see all the chapter points defined in there. so what could be preventing converting correctly to a .mobi TOC ? [code] <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE ncx PUBLIC "-//NISO//DTD ncx 2005-1//EN" "http://www.daisy.org/z3986/2005/ncx-2005-1.dtd"> <ncx xmlns="http://www.daisy.org/z3986/2005/ncx/" version="2005-1"> <head> <meta name="dtb:uid" content="ca43e607-a8ac-4299-9148-f741871cfb2b"/> <meta name="dtb:depth" content="2"/> <meta name="dtb:totalPageCount" content="0"/> <meta name="dtb:maxPageNumber" content="0"/> </head> <docTitle> <text>The Last Testament</text> </docTitle> <navMap> <navPoint id="navPoint-1" playOrder="1"> <navLabel> <text>PROLOGUE</text> </navLabel> <content src="Text/part1.xhtml"/> </navPoint> <navPoint id="navPoint-2" playOrder="2"> <navLabel> <text></text> </navLabel> <content src="Text/part2.xhtml"/> <navPoint id="navPoint-3" playOrder="3"> <navLabel> <text>CHAPTER ONE</text> </navLabel> <content src="Text/part2.xhtml#heading_id_3"/> </navPoint> </navPoint> <navPoint id="navPoint-4" playOrder="4"> <navLabel> <text></text> </navLabel> <content src="Text/part3.xhtml"/> <navPoint id="navPoint-5" playOrder="5"> <navLabel> <text>CHAPTER THREE</text> </navLabel> <content src="Text/part3.xhtml#heading_id_3"/> </navPoint> </navPoint> <navPoint id="navPoint-6" playOrder="6"> <navLabel> <text></text> </navLabel> <content src="Text/part4.xhtml"/> <navPoint id="navPoint-7" playOrder="7"> <navLabel> <text>CHAPTER FOUR</text> </navLabel> <content src="Text/part4.xhtml#heading_id_3"/> </navPoint> </navPoint> <navPoint id="navPoint-8" playOrder="8"> <navLabel> <text></text> </navLabel> <content src="Text/part5.xhtml"/> <navPoint id="navPoint-9" playOrder="9"> <navLabel> <text>CHAPTER FIVE</text> [code] etc etc |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre ePub TOC and Sigil | salasnet | Calibre | 3 | 09-26-2010 05:34 PM |
Generating TOC entries for prelims / end matter in InDesign | forlor | ePub | 7 | 07-07-2010 08:26 AM |
TOC in Calibre? | fading | Calibre | 5 | 08-14-2009 05:53 AM |
New to Calibre... TOC question | ruchti | Calibre | 10 | 06-08-2009 05:53 PM |
Making a TOC for LRFs? Issues with Calibre + LRF TOC editor not working | Magitek | LRF | 0 | 05-06-2009 01:25 PM |