[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


Hello;

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

===============================
\documentclass[11pt]{article}
\usepackage{amsmath}
\begin{document}
\[
{\begin{array}{c}
   \noalign{\medskip}{\frac {d}{dt}}p(t)
\end{array}}
\]
\end{document}
=============================

When compiled on TL 2018 on Linux using

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

The output is

https://www.12000.org/tmp/012119/mathjax_error.png

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
--Nasser






More information about the tex4ht mailing list