Hello,
we are using MathJax on page generated by latex tex4ht tool. Tex4ht produce HTML with MathML which is then processed by MathJax. The problem is with latex inline math - the most simple case $X$ is translated to trivial MathML like this:
<math xmlns="
http://www.w3.org/1998/Math/MathML" display="inline" >
X
</math>
which leads to "Unexpected text node: 'X'" MathJax error. Such MathML can be rendered by Firefox with no problem. I found related issues:
-
https://github.com/mathjax/MathJax/issues/1149-
http://tug.org/pipermail/tex4ht/2014q3/001012.htmland this seems to be expected bahaviour as the MathML above is not fully valid. If I enclose the X inside <mi> tag, MathJax works OK.
Any idea how to configure latex tex4ht or MathJax to get such trivial use of inline math working, please?