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

Michal Hoftich michal.h21 at gmail.com
Tue Oct 30 14:09:30 CET 2018


> Your new style file fixed some of the problems in the TOC,
> but I see few other entries in the TOC still have problems
> when I run it on my main file (not the MWE I gave)
>

I am sure there will be lot of such commands.

> I guess these needs to be added to \fixmathjaxtoc.
>

Yes

> btw, I did not have to do anything to my .cfg? I just needed to
> download your new style file which has this command in it.
>

No, I've added fixes for your test file already.

> I now running the full build and will make list of all
> these commands that needs to be added.
>
> There is over 70,000 entries in the TOC spreads of hundreds of
> web pages anbd it takes days to compile, so it will take me
> sometime to make a list of all of them and give it to you.
>
> For example on one file, I get now this TOC in HTML (using
> your new updated style file). You can see some still needs
> to be fixed
>
> https://www.12000.org/tmp/102918/screen_shot_mathjax_2.jpg
>
> While the same file using svg looks like this
>
> https://www.12000.org/tmp/102918/screen_shot_svg.jpg
>

Yes, please make a list of wrong commands. I guess it will be long :)

Best regards,
Michal


More information about the tex4ht mailing list