View Single Post
Old 07-13-2022, 08:27 AM   #239
johnmatushek
Junior Member
johnmatushek began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jun 2017
Device: Kindle
Quote:
Originally Posted by JSWolf View Post
Use the Calibre editor to build the ToC. You do it is automatically if possible, manually if need be. Converting to Mobi and then to ePub is a really bad idea as that seriously changes the code.
The TOC editor in Calibre is a powerful tool that I often use. But it does not seem like the ideal solution to this particular problem. The way I found to correct the problem is to delete all TOC entries then rebuild from scratch. However, this is time consuming and error prone. In my experience, most books do not have proper headings, so the automated technique doesn’t work. Recreating the TOC from regular expressions is notoriously hit-or-miss.

Calibre has some features for checking TOC already. When the TOC editor is first invoked, it flags certain invalid entries with a red icon. I usually just delete those. However, this error check doesn’t seem to catch all the errors that Amazon does.

I would like to see the TOC editor beefed up to find all the types of errors that Amazon might fail on. Ideally, I’d like a single button that says “fix the TOC.”
johnmatushek is offline   Reply With Quote