[tex4ht] Problem using mjcli on Cygwin

Michal Hoftich michal.h21 at gmail.com
Wed Mar 31 22:59:11 CEST 2021

You don't need to use the "mathjax" option with mjcli extension, it
loads the necessary code automatically, but without the JavaScript
inclusion.

Best regards,
Michal

> I have switched from using the version of TeX Live provided by Cygwin to the version available directly from CTAN, which is more recent, and now the mjcli extension runs without producing any error messages. However, I'm puzzled by the output. My HTML files all contain
>
> <script>window.MathJax = { tex: { tags: "ams", }, }; </script>
>  <script id="MathJax-script" type="text/javascript" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml-full.js" async="async"></script>
>
> Is that correct?
>
> My understanding is that these HTML files will still load and run MathJax, even though there is no longer anything for it to process. I would expect make4ht to add something like the code above, run MathJax and then remove the code above, which is now redundant. Have I misunderstood?
>