[tex4ht] Problem with mathjax mode rendering \noalign{\medskip} inside math
Nasser M. Abbasi
nma at 12000.org
Wed Jan 23 17:21:50 CET 2019
On 1/23/2019 3:45 AM, Michal Hoftich wrote:
> Hi Nasser,
>
>
>> I give up. I have no idea what is the problem. I will just compile
>> this file with SVG. That always works, even if little slower :)
>
> I've tested the strange_error.zip on another computer and the
> compilation ran correctly as well. So the issue remains mysterious.
>
> Best,
> Michal
>
Thanks for trying, it is no problem. I ended up deleting all the
undeeded files in the folder and rebuilding things from clean.
This did the trick. There was some file there that was causing the
crash. I did not want to do this at first in order to help find the bug.
The large folder got build OK using mathjax mode.
This will remain a mystery bug.
Your fix for \noalign{\medskip} for mathjax worked very well. In
case someone want to use mathjax with tex4ht, this is my current
configuration in .cfg for make mathjax happy.
==================================
%thanks to Michal Hoftich. Added Nov 18, 2018 to handle Maple Latex export problem
\Configure{@HEAD}{\HCode{
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
TeX: {
Macros: {
noalign: ["\#1", 1],
medskip: "",
\unexpanded{
sc : "\\small\\rm",
sl: "\\it",
LommelS: ["\\operatorname{LommelS\#1}",1],
sinc: ["\\operatorname{sinc}"],
tauL: "\\tau L"
}
},
}
});
</script>
}}
===========================
Thanks for the help.
--Nasser
More information about the tex4ht
mailing list