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

Michal Hoftich michal.h21 at gmail.com
Tue Jan 22 12:42:04 CET 2019


Hi Nasser,

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

You just need to provide some definitions for these macros in the config file:

\Preamble{xhtml}
\Configure{@HEAD}{\HCode{\detokenize{%
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
   TeX: {
     Macros: {
       noalign: ["\#1", 1],
       medskip: ""
     }
   },
   }
  );
</script>
}}}
\begin{document}
\EndPreamble


Note that this definition does nothing, just ignores \noalign and \medskip

Best regards,
Michal


More information about the tex4ht mailing list