Quote:
Originally Posted by kovidgoyal
This is almost certainly caused by something in the trailing bits at the end of each text record. Unfortunately, that is a part of the mobi format that is the least well understood (it is an absolute nightmare that took me days of reverse engineering). Amazon's engineering really, really sucks. As such the effort to fix issues in it is really not worth it for me. Patches are welcome, but be warned it is not going to be simple to fix.
One thing to check in your input files is that the ToC entries are in correct order and dont have duplicates. That is every toc entry points to some location in the file strictly after the previous entry.
|
Where should I look in the text records to try to fix it manually? Would it be in the body text files themselves or in metadata.opf and toc.ncx?