View Single Post
Old 09-29-2010, 09:24 AM   #6
GRiker
Comparer of the Ephemeris
GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.
 
Posts: 1,496
Karma: 424697
Join Date: Mar 2009
Device: iPad
Within the OPF file is the <spine>, which describes the order of files as displayed to the user if you simply page through the epub. Within the HTML files listed in the spine, the order of the anchors is significant.

Within the TOC.NCX is the <navMap>, which describes the order of chapter marks/index points. Within the navMap, the order of the <navPoints> is significant.

A MOBI file requirement is that chapter marks (index points) are sequential within the book. In other words, when toggling right to jump to the next chapter, that destination must be the next indexed point in the MOBI file.

Therefore, when converting from EPUB to MOBI, it is necessary to have the layout of the HTML (and the anchors they contain) correspond to the sequence of <navPoints> in the TOC.NCX file.

If you open DarkTowerVWolvesofCal_17963.html, you will find that the anchor #Il01 is earlier in the file than #Ch31, which is causing the disruption in the space/time continuum.

You have two choices:
  1. Rearrange the order of the TOC.NCX navPoints to correspond to the order of the anchors in your HTML file(s). It's not a matter of simply changing the playOrder attributes, the navPoints themselves must be in the correct order.
  2. Rearrange the HTML file(s) so that the anchors (and the text they represent) are in the same order as the navPoints in your .NCX file.

My guess is that it would be easier to edit the .NCX file to match the layout of the HTML file(s).

G

Last edited by GRiker; 09-29-2010 at 09:32 AM.
GRiker is offline   Reply With Quote