[tex4ht] make4ht with mathjax and \setlength{\fboxsep} problem

Nasser M. Abbasi nma at 12000.org
Mon Sep 10 17:37:55 CEST 2018

Does make4ht support for mathjax include \setlength{\fboxsep}?

This MWE does not render correctly using mathjax but it does
when not using mathjax:


   \boxed{y={\frac {2\,x-2\,\ln  \left( x \right) +C_{{1}}}{ \left( -1+x \right) ^{2}}}}

Compiled with

make4ht -ulm draft -c ./nma_mathjax.cfg foo.tex "htm,0,charset=utf-8" " -cunihtf -utf8"

Where nma_mathjax.cfg is


The HTML looks like this:


Using mathjax-latex-4ht.sty downloaded from


When compiled using

make4ht -ulm draft foo.tex "htm,0,charset=utf-8" " -cunihtf -utf8"

Then it renders OK.

TL 2018

More information about the tex4ht mailing list