Follow-up Comment #1, bug #655 (project tex4ht): It seems that the redefinition of \tableofcontents by the etoc package is the culprit. This file, etoc.4ht should fix it:
%%%%%%%%%%
\let\Etoc@tableofcontents@contents\TableOfContents
\Hinput{etoc}
\endinput
%%%%%%%%%%%%
_______________________________________________________
Reply to this item at: <https://puszcza.gnu.org.ua/bugs/?655>
_______________________________________________
Message sent via/by Puszcza <https://puszcza.gnu.org.ua/>
