On 8/23/2020 4:19 PM, Nasser M. Abbasi wrote:


So I am now using mathml in all my makefiles.


I had to go back to using only mathjax and not add mathml.

After carefully looking at more pages, I see some math is failing to
render now. I get in yellow the message

       math input error

in the browser. I tried Chrome, Firefox and Brave.  This never happened
when using only mathjax. Here is an example

=====================
\documentclass[12pt]{article}
\usepackage{amsmath}
\begin{document}

\begin{align*}
\xi \left ( x \right ) &= \int{{\frac{c_{2}\, \left ({x}^{2}-1 \right ) 
}{{x}^{2}}}\,\mathop{\mathrm{d}x}}\\
                       &= c_{2}\, \left ( x+{x}^{-1} \right ) + C_1
\end{align*}

\end{document}
========================

When compiled using

make4ht -ulm default -a debug foo3.tex "mathml,mathjax,htm"

the page does not show the math. But when compiled using

make4ht -ulm default -a debug foo3.tex "mathjax,htm"

it works fine.

May be this due to MathML support not fully mature in browser yet. I do not
know. But I see many other such cases now on my pages with such errors, so
I have to remove MathML option for now. May be will try it again in
the future.

--Nasser

Reply via email to