[tex4ht] Problem with mathjax mode rendering \noalign{\medskip} inside math

Nasser M. Abbasi nma at 12000.org
Tue Jan 22 05:40:32 CET 2019


Maple generated Latex code contains lots of constructs like this:

\left[ {\begin{array}{c} {\frac {\rm d}{{\rm d}t}}{\it p1} \left( t
  \right) \\ \noalign{\medskip}{\frac {\rm d}{{\rm d}t}}{\it p2}
  \left( t \right) \\ \noalign{\medskip}{\frac {\rm d}{{\rm d}t}}{\it
p3} \left( t \right) \end{array}} \right] = \left[ {\begin{array}{c} 0
\\ \noalign{\medskip}-{\it q3} \left( t \right) \\ \noalign{\medskip}{
\it q2} \left( t \right) \end{array}} \right]

The above compiles OK in latex/pdf and in svg and png mode.

But in mathjax the \noalign{\medskip} does not render.

I made a MWE showing the problem

   \noalign{\medskip}{\frac {d}{dt}}p(t)

When compiled on TL 2018 on Linux using

make4ht -ulm draft foo.tex "htm,mathjax"

The output is


Is this a mathjax mode issue and it might just need
additional configuation changes in mathjax style file?

As this is auto-generated code by Maple (which is known to
generate not the best latex), I have no control over it.

Thank you

More information about the tex4ht mailing list