Quote:
Originally Posted by theducks
The NCX play order is munged up 
|
I looked into toc.ncx and didn't found a problem. 'playOrder' is starting form 0 instead from 1. The pages got 'OEBPS/' prepended. Otherwise it looks similar to the original.
Code:
<?xml version='1.0' encoding='utf-8'?>
<ncx xmlns="http://www.daisy.org/z3986/2005/ncx/" version="2005-1" xml:lang="eng">
<head>
<meta content="402317b9-5850-4799-8854-5da2e78b0ebc" name="dtb:uid"/>
<meta content="5" name="dtb:depth"/>
<meta content="calibre (0.8.40)" name="dtb:generator"/>
<meta content="0" name="dtb:totalPageCount"/>
<meta content="0" name="dtb:maxPageNumber"/>
</head>
<docTitle>
<text>JavaScript: The Good Parts</text>
</docTitle>
<navMap>
<navPoint class="cover" id="cover" playOrder="0">
<navLabel>
<text>Cover Page</text>
</navLabel>
<content src="OEBPS/cover.html"/>
</navPoint>
<navPoint class="chapter" id="id2360691" playOrder="1">
<navLabel>
<text>JavaScript: The Good Parts</text>
</navLabel>
<content src="OEBPS/index.html"/>
<navPoint class="chapter" id="id2260044" playOrder="2">
<navLabel>
<text>SPECIAL OFFER: Upgrade this ebook with O’Reilly</text>
</navLabel>
<content src="OEBPS/upgrade_offer_front.html"/>
</navPoint>
<navPoint class="chapter" id="id2440873" playOrder="3">
<navLabel>
<text>A Note Regarding Supplemental Files</text>
</navLabel>
<content src="OEBPS/examples_page.html"/>
</navPoint>