Here are the requested htmls, and the ebook-convert used. there are some other problems, but the one that I'm trying to figure out right now is that the "Contents" in document 1.html are blanked out in the resulting ePub.
sudo ebook-convert tmp/temptoc.html $mediatargetpath$sku".epub" --max-levels=1 --toc-threshold=100 --level1-toc="//h:h1" --level2-toc="//h:h2" --cover=$imagedir$sku$cover_image_extension --book-producer="Nimble Combinatorial Publishing" --publisher="Nimble Combinatorial Publishing" --max-toc-links=100 --preserve-cover-aspect-ratio
|