When compiling with make4ht and using svg parameter, the equation, drawn from subequation using align environment, is not converted into SVG. If I change to mathjax, the HTML displays the warning: Unknown environment 'subequations'.
Here follows a small sample to reproduce it:
\documentclass{article}
\usepackage{amsmath}
\begin{document}
Test
\begin{equation}
H(X) = - \sum_x p_x \log p_x
\end{equation}
\begin{subequations}
\begin{align}
A&=&B\
D&=&C \label{e:middle}\
E&=&F
\end{align}
\end{subequations}
\end{document}
Compiling with:
make4ht -u -x test-math.tex "svg"
Changing to eqnarray works fine. Should I use a patch in a configuration file? I tried the following:
\Preamble{xhtml}
\renewenvironment{align}{
\begin{eqnarray}
}{
\end{eqnarray}
\ignorespacesafterend
}
\begin{document}
\EndPreamble
Is it a bug in make4ht? Is there a better solution?


mathjax. – LEo Jan 25 '21 at 14:54