View Single Post
Old 01-31-2018, 02:47 PM   #16
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,997
Karma: 147448039
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by DNSB View Post
Quite often, when you see a few very large files, the ToC will point into the middle of a file since the files are not split on chapter boundaries. This can and will cause some odd issues.

What I generally do is to merge all the files other than one which displays the cover into a single file, cleanup the metadata, errorcheck, split at logical boundaries (Toc, titlepage, dedication, copyright, chapters, etc.), rebuild the toc.ncx, any other cleanup I think is needed and then save the epub.
If the problem is too large an XHTML file, I will spit it at the proper boundaries and if need be, do any manual merging. I will check that the ToC is correct. I don't have to deal with the internal ToC as I've already deleted it.
JSWolf is offline   Reply With Quote