09-09-2010, 07:20 PM | #1 |
Author&Publisher
Posts: 61
Karma: 10
Join Date: Oct 2009
Location: Colorado, USA
Device: Kindle
|
adding a toc.ncx file to the .prc package
I've been unable to get the Amazon kindlegen.exe program to work. However, I know that the Amazon Kindle Previewer works fine with prc files I've created using MobiPocket Creator. However my one hang-up is that Kindle looks for a toc.ncx file in addition to the toc.html file that suffices for MobiPocket Reader. The Kindle UserGuide explains that the toc.ncx is incorporated into the eventual prc/mobi file by two lines of code added to the opf file before the "build". To the "manifest" section is added <item id="toc" media-type="application/x-dtbncx+xml" href="toc.ncx"/> and the "spine" tag is adjusted with this attribute: <spine toc="toc">. Having added this code to the opf file, Mobipocket Creator won't "build" a prc/mobi file. It hangs. Does anyone know how to get around this problem?
|
09-09-2010, 08:58 PM | #2 | |
Grand Sorcerer
Posts: 6,660
Karma: 26963509
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
|
Quote:
Beyond that, I'd check very carefully to make sure the opf and ncx are well formed. Mobipocket Creator definitely handles inclusion of toc.ncx. If you need an example to work with, you can download one from this page on Joshua Talent's Kindle Formatting web site. And of course Kindlegen should work, too! |
|
Advert | |
|
09-09-2010, 09:12 PM | #3 |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
Calibre can create a MOBI for you, or in the alternative you can create an ePub using Calibre then unzip the ePub (which is just a zip file with a different filename extension) and import it into MobiPocket Creator (or run the ePub "as is" through kindlegen.exe).
The point is that an ePub has a toc.ncx and Calibre will produce a well formed version of it and the .opf file. |
09-14-2010, 01:46 PM | #4 |
Author&Publisher
Posts: 61
Karma: 10
Join Date: Oct 2009
Location: Colorado, USA
Device: Kindle
|
reply to tomsen
Thanks for your prompt reply. I've gone over the malfunctioning opf with ncx enabling code "with a fine tooth comb" and can't find any deviations from proper xml "form". Please find my reply to wallcraft for my ultimate resolution.
|
09-14-2010, 02:21 PM | #5 |
Got Touch Phones
Posts: 4
Karma: 10
Join Date: Sep 2010
Device: none
|
I'd check very carefully to make sure the opf and ncx are well formed.
gottouchphones.com |
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Page Mapping Using toc.ncx | lorddon | ePub | 35 | 01-16-2018 12:18 PM |
Can you bypass first two items in TOC.ncx? | sueneu | Kindle Formats | 4 | 07-14-2010 08:36 AM |
toc.ncx playOrder question | aarcane | ePub | 8 | 05-25-2010 05:00 AM |
adjusting toc.ncx file to restore missing chapters viewed in Adobe Digital Editions | cyberbaffled | ePub | 5 | 12-06-2009 09:44 PM |
toc.ncx navpoint content=src empty? | KevinH | Sigil | 6 | 11-23-2009 01:39 PM |