[tex4ht] Problem using mjcli on Cygwin

Francis Wright f.j.wright at live.co.uk
Wed Mar 31 17:46:23 CEST 2021

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?

Thanks, Francis

-----Original Message-----
From: Michal Hoftich <michal.h21 at gmail.com> 
Sent: Wednesday, 31 March 2021 11:53 am
To: Francis Wright <f.j.wright at live.co.uk>
Cc: tex4ht at tug.org
Subject: Re: [tex4ht] Problem using mjcli on Cygwin

Dear Francis,

> Thanks for the explanation. I understand the problem now and how to fix it. I was looking at recent documentation but it turns out that my version of make4ht is a bit older than I thought.

good to hear. The documentation that is available at https://www.kodymirus.cz/make4ht/make4ht-doc.html is being generated automatically when make4ht repository is updated, so it can contain information that is not available in TeX distributions yet. I guess that it can be confusing sometimes.

Best regards,

More information about the tex4ht mailing list.