03-18-2011, 03:34 PM | #1 |
Junior Member
Posts: 8
Karma: 10
Join Date: Dec 2010
Device: Kindel
|
Calibre to Kindel previewer .NCX issues
We create a epub file which contains our .ncx file.
Normally we would just drag our .epub file on kindel previewer and let it convert and create the kindel file. Doing this the .ncx file works fine in the Previewer. What we did find that "our css "block" style was not keeping a hanging indent. We found that letting Calibre convert our epub to .mobi file and then opening the Calibre .mobi file in Kindel previewer retained our hanging indents. But it would bash our .ncx file telling us their is no .ncx file. We know their is one cause it works from the epub we drop into the kindel previewer. Any Idea what is going on? How can i fix this. Also what program do you use to unpack and repack a .mobi file? |
03-21-2011, 06:11 AM | #2 |
Wizard
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
I would guess that Calibre is trashing your TOC because you have 'Force use of auto-generated TOC' enabled. If this option is enabled it will overwrite a good TOC based on however Calibre is configured to detect a TOC, and if Calibre's TOC detection is improperly configured then you'll get a garbage TOC in the conversion.
|
Advert | |
|
03-21-2011, 10:02 AM | #3 |
Junior Member
Posts: 8
Karma: 10
Join Date: Dec 2010
Device: Kindel
|
It is not killing the TOC
It is messing up our .NCX file. This is the error "Missing NCX file Your Book is currently Missing a NCX file, which defines the sequence and organization of your book. The NCX file allows readers to skip between chapters or sections of a Kindle book." Our NCX works when not converted thru Calibre. I am also unsure where the "If this option is enabled it will overwrite a good TOC based on however Calibre is configured to detect a TOC, and if Calibre's TOC detection is improperly configured then you'll get a garbage TOC in the conversion. " Is in the Calibre prefrences. Thank you Matt |
03-21-2011, 10:21 AM | #4 |
Wizard
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
By TOC I meant NCX - an NCX is one of the two types of TOCs that the Kindle uses. The NCX is used for the chapter tics, and the inline TOC is used for the user visible TOC.
Many users use Calibre to create a mobi NCX from an epub NCX, which is clearly what you're trying to do. Calibre's default settings will do this for you automatically. The fact that it's not working for you means you have something configured incorrectly. The most likely thing is that you've enabled the option I already mentioned. I got the wording slightly off before - the actual text of the option is "Force use of auto-generated Table of Contents". Make sure this is disabled in the conversion options. It's in the "Table of Contents" panel of the conversion options. Last edited by ldolse; 03-21-2011 at 10:24 AM. |
03-22-2011, 08:30 AM | #5 |
Junior Member
Posts: 8
Karma: 10
Join Date: Dec 2010
Device: Kindel
|
"the actual text of the option is "Force use of auto-generated Table of Contents". Make sure this is disabled in the conversion options. It's in the "Table of Contents" panel of the conversion options. "
I ran my valid epub thru the Calibre system again made sure this Option was not checked. In converting to Mobi and then opening the .mobi file into Kindel Previewer i still get the same error. I know my .NCX was in the .epub file, and the .epub file validates for epub and even Apples validation tool. I don't know why Calibre keeps messing up the .ncx file. We create epubs for Kindel and generic epubs. we have never used Calibre since you didn't need Calibre when using the new version of Kindel Previewe since it will translate the .epub file. The reason we switched to this is we found out by using Calibre it holds the "Block" paragraph style in our CSS where the conversion that Kindel Previewer doesn't. We create a toc.html file and a .ncx file for all of our jobs. are their anyother settings for Calibre conversion to .mobi i should be looking at. We are updated to the most current version of Calibre as well. Thanks |
Advert | |
|
03-22-2011, 09:15 AM | #6 |
Wizard
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
I just tried converting an epub to mobi with the default conversion options and it converted just fine, tic marks show up in the Kindle Previewer.
Either you have some other non-default conversion options that may be getting in the way, or there is something wrong with your epub's ncx file. When you open your epub file in Adobe Digital Editions does it show a Table of Contents? |
03-22-2011, 09:23 AM | #7 |
Junior Member
Posts: 8
Karma: 10
Join Date: Dec 2010
Device: Kindel
|
Yes when we open it in Adobe Digital Editions it shows the .ncx Table of Contents.
When we Open the .epub in the Kindel Previewer with out going thru Calibrie the .ncx Navigation TOC is showing up as well. |
03-22-2011, 09:42 AM | #8 |
Wizard
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
Click on 'Jobs' in the lower right corner of the main Calibre window. Highlight the most recent problem conversion, and copy paste the job details to a window here.
|
03-22-2011, 10:08 AM | #9 | ||
Junior Member
Posts: 8
Karma: 10
Join Date: Dec 2010
Device: Kindel
|
Ok Well i tried to restore to Defaults, on my Mac OSX calibre and Installed a clean on my PC and neither worked it still messes up the .ncx file in the Kindel previewer.
Below is my NCX file. toc.ncx Quote:
Quote:
Last edited by Matt.Geiger; 03-22-2011 at 10:12 AM. |
||
03-22-2011, 10:31 AM | #10 |
Well trained by Cats
Posts: 29,782
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
look at playorder 8
Code:
<text>3. JESUS’S SHOCK TROOPS?</text>
|
03-22-2011, 10:37 AM | #11 |
Wizard
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
I'm no expert on NCX files. Your conversion log states where Calibre sees the problem though:
Code:
Indexing navPoints ... *** TOC discontinuity: nodes are not sequential *** node 000: 'Cover' offset: 0x170D92 length: 0x9A node 001: 'Title Page' offset: 0x64 != 0x170E2C ... child 000: TOC: Cover --> OEBPS/xhtml/cover.xml child 001: TOC: Title Page --> OEBPS/xhtml/title.html child 002: TOC: Epigraph --> OEBPS/xhtml/epigraph.html child 003: TOC: Contents --> OEBPS/xhtml/contents.html child 004: TOC: PROLOGUE: SEPTEMBER 20, 1918 --> OEBPS/xhtml/prologue.html child 005: TOC: 1. A LIVING CHRIST --> OEBPS/xhtml/chapter1.html child 006: TOC: 2. NEUROSIS AND BEATITUDE --> OEBPS/xhtml/chapter2.html ... _generate_indexed_navpoints: Failed to generate index As a comparative example I do see minor differences vis-a-vis the one I just converted which worked (nothing jumps out at me though): 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 version="2005-1" xml:lang="en-US" xmlns="http://www.daisy.org/z3986/2005/ncx/"> <head> <meta name="dtb:PrimaryID" content="978-0-440-33516-0"/> <meta name="dtb:depth" content="2"/> <meta name="dtb:totalPageCount" content="0"/> <meta name="dtb:maxPageNumber" content="0"/> </head> <docTitle><text>Outlander</text></docTitle> <docAuthor><text>Diana Gabaldon</text></docAuthor> <navMap> <navPoint id="cvi" playOrder="1"> <navLabel><text>COVER PAGE</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_cvi_r1.htm"/> </navPoint> <navPoint id="tp" playOrder="2"> <navLabel><text>TITLE PAGE</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_tp_r1.htm"/> </navPoint> <navPoint id="toc" playOrder="3"> <navLabel><text>CONTENTS</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_toc_r1.htm"/> </navPoint> <navPoint id="ded" playOrder="4"> <navLabel><text>DEDICATION</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_ded_r1.htm"/> </navPoint> <navPoint id="epi" playOrder="5"> <navLabel><text>EPIGRAPH</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_epi_r1.htm"/> </navPoint> <navPoint id="qts" playOrder="6"> <navLabel><text>PRAISE</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_qts_r1.htm"/> </navPoint> <navPoint id="ack" playOrder="7"> <navLabel><text>ACKNOWLEDGMENTS</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_ack_r1.htm"/> </navPoint> <navPoint id="p01" playOrder="8"> <navLabel><text>PART ONE</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_p01_r1.htm"/> <navPoint id="c01" playOrder="9"> <navLabel><text>CHAPTER 1</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_c01_r1.htm"/> </navPoint> <navPoint id="c02" playOrder="10"> <navLabel><text>CHAPTER 2</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_c02_r1.htm"/> </navPoint> <navPoint id="c03" playOrder="11"> <navLabel><text>CHAPTER 3</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_c03_r1.htm"/> </navPoint> <navPoint id="c04" playOrder="12"> <navLabel><text>CHAPTER 4</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_c04_r1.htm"/> </navPoint> <navPoint id="c05" playOrder="13"> <navLabel><text>CHAPTER 5</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_c05_r1.htm"/> </navPoint> </navPoint> <navPoint id="p02" playOrder="14"> <navLabel><text>PART TWO</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_p02_r1.htm"/> <navPoint id="c06" playOrder="15"> <navLabel><text>CHAPTER 6</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_c06_r1.htm"/> </navPoint> <navPoint id="c07" playOrder="16"> <navLabel><text>CHAPTER 7</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_c07_r1.htm"/> </navPoint> <navPoint id="c08" playOrder="17"> <navLabel><text>CHAPTER 8</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_c08_r1.htm"/> </navPoint> <navPoint id="c09" playOrder="18"> <navLabel><text>CHAPTER 9</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_c09_r1.htm"/> </navPoint> <navPoint id="c10" playOrder="19"> <navLabel><text>CHAPTER 10</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_c10_r1.htm"/> </navPoint> </navPoint> <navPoint id="p03" playOrder="20"> <navLabel><text>PART THREE</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_p03_r1.htm"/> <navPoint id="c11" playOrder="21"> <navLabel><text>CHAPTER 11</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_c11_r1.htm"/> </navPoint> <navPoint id="c12" playOrder="22"> <navLabel><text>CHAPTER 12</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_c12_r1.htm"/> </navPoint> <navPoint id="c13" playOrder="23"> <navLabel><text>CHAPTER 13</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_c13_r1.htm"/> </navPoint> <navPoint id="c14" playOrder="24"> <navLabel><text>CHAPTER 14</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_c14_r1.htm"/> </navPoint> <navPoint id="c15" playOrder="25"> <navLabel><text>CHAPTER 15</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_c15_r1.htm"/> </navPoint> <navPoint id="c16" playOrder="26"> <navLabel><text>CHAPTER 16</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_c16_r1.htm"/> </navPoint> <navPoint id="c17" playOrder="27"> <navLabel><text>CHAPTER 17</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_c17_r1.htm"/> </navPoint> <navPoint id="c18" playOrder="28"> <navLabel><text>CHAPTER 18</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_c18_r1.htm"/> </navPoint> <navPoint id="c19" playOrder="29"> <navLabel><text>CHAPTER 19</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_c19_r1.htm"/> </navPoint> <navPoint id="c20" playOrder="30"> <navLabel><text>CHAPTER 20</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_c20_r1.htm"/> </navPoint> <navPoint id="c21" playOrder="31"> <navLabel><text>CHAPTER 21</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_c21_r1.htm"/> </navPoint> <navPoint id="c22" playOrder="32"> <navLabel><text>CHAPTER 22</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_c22_r1.htm"/> </navPoint> <navPoint id="c23" playOrder="33"> <navLabel><text>CHAPTER 23</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_c23_r1.htm"/> </navPoint> </navPoint> <navPoint id="p04" playOrder="34"> <navLabel><text>PART FOUR</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_p04_r1.htm"/> <navPoint id="c24" playOrder="35"> <navLabel><text>CHAPTER 24</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_c24_r1.htm"/> </navPoint> <navPoint id="c25" playOrder="36"> <navLabel><text>CHAPTER 25</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_c25_r1.htm"/> </navPoint> </navPoint> <navPoint id="p05" playOrder="37"> <navLabel><text>PART FIVE</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_p05_r1.htm"/> <navPoint id="c26" playOrder="38"> <navLabel><text>CHAPTER 26</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_c26_r1.htm"/> </navPoint> <navPoint id="c27" playOrder="39"> <navLabel><text>CHAPTER 27</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_c27_r1.htm"/> </navPoint> <navPoint id="c28" playOrder="40"> <navLabel><text>CHAPTER 28</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_c28_r1.htm"/> </navPoint> <navPoint id="c29" playOrder="41"> <navLabel><text>CHAPTER 29</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_c29_r1.htm"/> </navPoint> <navPoint id="c30" playOrder="42"> <navLabel><text>CHAPTER 30</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_c30_r1.htm"/> </navPoint> <navPoint id="c31" playOrder="43"> <navLabel><text>CHAPTER 31</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_c31_r1.htm"/> </navPoint> <navPoint id="c32" playOrder="44"> <navLabel><text>CHAPTER 32</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_c32_r1.htm"/> </navPoint> <navPoint id="c33" playOrder="45"> <navLabel><text>CHAPTER 33</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_c33_r1.htm"/> </navPoint> </navPoint> <navPoint id="p06" playOrder="46"> <navLabel><text>PART SIX</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_p06_r1.htm"/> <navPoint id="c34" playOrder="47"> <navLabel><text>CHAPTER 34</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_c34_r1.htm"/> </navPoint> </navPoint> <navPoint id="p07" playOrder="48"> <navLabel><text>PART SEVEN</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_p07_r1.htm"/> <navPoint id="c35" playOrder="49"> <navLabel><text>CHAPTER 35</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_c35_r1.htm"/> </navPoint> <navPoint id="c36" playOrder="50"> <navLabel><text>CHAPTER 36</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_c36_r1.htm"/> </navPoint> <navPoint id="c37" playOrder="51"> <navLabel><text>CHAPTER 37</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_c37_r1.htm"/> </navPoint> <navPoint id="c38" playOrder="52"> <navLabel><text>CHAPTER 38</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_c38_r1.htm"/> </navPoint> <navPoint id="c39" playOrder="53"> <navLabel><text>CHAPTER 39</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_c39_r1.htm"/> </navPoint> <navPoint id="c40" playOrder="54"> <navLabel><text>CHAPTER 40</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_c40_r1.htm"/> </navPoint> <navPoint id="c41" playOrder="55"> <navLabel><text>CHAPTER 41</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_c41_r1.htm"/> </navPoint> </navPoint> <navPoint id="bm1" playOrder="56"> <navLabel><text>Excerpt from Dragonfly in Amber</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_bm1_r1.htm"/> </navPoint> <navPoint id="bm2" playOrder="57"> <navLabel><text>An Intervew with Diana Gabaldon</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_bm2_r1.htm"/> </navPoint> <navPoint id="bm3" playOrder="58"> <navLabel><text>Reader’s Guide</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_bm3_r1.htm"/> </navPoint> <navPoint id="cop" playOrder="59"> <navLabel><text>COPYRIGHT PAGE</text></navLabel> <content src="OEBPS/Gaba_9780440335160_epub_cop_r1.htm"/> </navPoint> </navMap> </ncx> |
03-22-2011, 11:39 AM | #12 |
creator of calibre
Posts: 43,844
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The order of items in your ncx file has to be the same as the order in the book.
|
03-22-2011, 12:46 PM | #13 | ||
Junior Member
Posts: 8
Karma: 10
Join Date: Dec 2010
Device: Kindel
|
Are you refering to the OPF order to the .ncx or to the toc.html file
here is the Opf file Quote:
Quote:
|
||
03-22-2011, 12:50 PM | #14 |
creator of calibre
Posts: 43,844
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
the order of elements in the spine and the ncx have to match. And dont use linear="no"
|
03-22-2011, 01:39 PM | #15 |
Junior Member
Posts: 8
Karma: 10
Join Date: Dec 2010
Device: Kindel
|
Well what happens when you need something listed in your "Spine" in your .opf but do not want that to show in your .ncx (TOC).
We have this many times where we don't want to list for example a nav point for footnotes since foot notes are linked to and back in the main body of text. Is their away that that a feature can be added to calibre to use the .ncx and the .opf as is. from an already validated epub? |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Old Thread] calibre not creating content.opf or toc.ncx files during conversion | foxxywith2xs | Calibre | 7 | 12-16-2012 07:49 PM |
Having serious issues with Calibre since upgrade. | geisha918 | Calibre | 0 | 07-05-2010 10:51 PM |
Kindle issues with Calibre | Leep | Calibre | 5 | 06-07-2009 07:25 PM |
kindel is not charging | gfallon | Introduce Yourself | 2 | 04-19-2009 09:51 AM |
Calibre Issues | pghaworth | Calibre | 21 | 04-17-2009 02:11 PM |