View Single Post
Old 09-05-2011, 03:55 AM   #133
avid-e-reader began at the beginning.
Posts: 18
Karma: 10
Join Date: Dec 2010
Device: Kindle
So mobiunpack actually creates this file somewhere along the line. I just found a (slightly tweaked) version of my .ncx file in there, in the "misc" directory. The tweaks are a reflection of the directory structure.

So it looks like the changes necessary would be threefold:
1) extract the .ncx file out of the and place it is a (newly created) misc directory, alongside the Images directory
2) reference the .ncx file in the <manifest> tag of the .opf file.
3) add a toc="toc" attribute to the <spine> tag of the .opf file.

I haven't looked at the source for mobiunpack, to know how hard or easy this would be, nor do I know what sort of source control is being used, or where it is located.
avid-e-reader is offline   Reply With Quote