View Single Post
Old 08-22-2024, 08:00 PM   #6
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,825
Karma: 30277270
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by VeryWellAged View Post
I gave up trying to fix this. Instead I put a hidden header of single "." in the original document and it now creates a essentially empty ToC. I hate hacking a document to deal with converter, but at least it works.

There are times code can be "smarter" by half and can cause problems. There needs to be a simple check box that says: "Do NOT create a ToC."
Sorry about the bum steer

Pretty sure setting the Chapter detection Xpath to '/' and ToC Number of links to '0' used to work… like a decade ago. But it doesn't seem to now. IIRC an NCX is mandatory in EPUB 2 so that might be why.

But that doesn't explain why was your footnotes were ending up as ToC entries. Kovid would probably need access to your DOCX to answer that, see ==>> https://calibre-ebook.com/bugs

BR
BetterRed is online now   Reply With Quote