What I do with HTML files from Gutenberg is to load them into Sigil, remove their "Contents" links at the top (leaving the actual chapter links in the body of the text) and then after checking the TOC via the tools I save it as an epub and run that through Calibre. It takes a little while for each step, but it is worth the time in the end.
|