[tex4ht] big problem with table of content when section titles contain math using mathjax

Nasser M. Abbasi nma at 12000.org
Thu Nov 1 01:43:33 CET 2018

On 10/30/2018 8:09 AM, Michal Hoftich wrote:
> Yes, please make a list of wrong commands. I guess it will be long :)
> Best regards,
> Michal

Hello Michal;

There were lots of errors, but the good thing it seems they
all are related to the latex math names not working in toc.

So I edited your mathjax-latex-4ht.sty file on my PC
and added these entries to what you allready have there:


To the section where it says

     % fixes for tables of contents

I've rebuild few files and I longer see the problems in the TOC.

I still need to rebuild all the files and check each visually just in
case I missed some other math name not listed above.

This will take few more days since there are hundreds of files
to build and check.

If I found one I missed, will email you so you can add it to you
master style file on git.

Thank you

More information about the tex4ht mailing list