View Single Post
Old 12-19-2010, 10:36 AM   #18
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
Quote:
Originally Posted by switchman2210 View Post
Why don’t you use Sigil to build a epub based book which you can then convert to Mobi. If you are starting from a different format, you could use calibre to generate the initial epub file which you could then edit in Sigil. I did this last week. I started with an old lit file I had, converted it to epub in caliber and then reformatted it in Sigil to clean up the conversion issues. In my case I left it as an epub file, but you could then convert it to mobi.
I don't think this works as expected ( as per my new thread about force table of content problem.)

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
cybmole is offline   Reply With Quote