View Single Post
Old 01-31-2016, 02:28 PM   #12
deback
Book E d i t o r
deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.
 
Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
Thanks for your response, theducks. I decided to experiment with one of the "corrupt" files until I found the error (The Innocent by Baldacci).

I did some things, one at a time and then ran a conversion each time -- deleted unnecessary entries for <a id="page-blah">, deleted the page-map.xml file, deleted the TOC entries, -- and after I deleted both the page-map.xml file and the toc.ncx file and recreated the toc.ncx file (Generate entries from files -- with the Edit TOC command under Tools, but I click the icon I've set up in the Toolbar), the file conversion now shows all 384 pages.

Whomever created this particular epub file created TOC entries for every page from the real book. Deleting all that crap fixed the file. I'm pretty sure the other two files that had the same problem probably has a mess in those two files. I'm going to reconvert all the Baldacci novels (about 36 of them), so I can find the other files I had problems with, so I can fix them.

Thanks again!
deback is offline   Reply With Quote