[tex4ht] another strange error when using make4ht with mathjax mode

Nasser M. Abbasi nma at 12000.org
Fri Oct 26 15:19:31 CEST 2018


This MWE only fails to compile when using make4ht in mathjax mode.

It is snippet from old code. May be not well written. But
this used to compile OK and still compiles OK when not using
mathjax mode in make4ht.


     $i\in C(J)$\\
     $j\notin C(J)$
$ & $f_{ij}=0$\\\hline

Now when I compile it with mathjax, it gives this error

! Missing $ inserted.
<inserted text>
l.10     $j\notin
? x

command used

make4ht -ulm default  -c  ./nma_mathjax.cfg foo.tex
        "htm,0,notoc*,p-width,charset=utf-8" " -cunihtf -utf8"

Where nma_mathjax.cfg is


And mathjax-latex-4ht.sty is


Why does it fail only in mathjax mode? It compiles OK in lulatex,
and svg.

TL 2018 on Linux.

Thank you,

More information about the tex4ht mailing list