Wed Dec 1 22:07:32 2021, original submission:
reference and screen shots at
https://tex.stackexchange.com/questions/624671/tex4ht-having-trouble-with-frac-partial-u-partial-x-0-in-mathjax-mode
For some reason, after recent update of texlive, tex4ht in mathjax mode no longer generate valid math for this
\documentclass[12pt]{article}
\usepackage{amsmath}
\begin{document}
\[
\frac{\partial u}{\partial x}=0
\]
\end{document}
Compiled using
make4ht -ulm default -a debug foo.tex "mathjax,htm"
gives wrong rendering as shown in the link above.
The HTML generated is
====================
<!DOCTYPE html>
<html lang='en-US' xml:lang='en-US'>
<head><title></title>
<meta charset='utf-8' />
<meta content='TeX4ht (https://tug.org/tex4ht/)' name='generator' />
<meta content='width=device-width,initial-scale=1' name='viewport' />
<link href='foo.css' rel='stylesheet' type='text/css' />
<meta content='foo.tex' name='src' />
<script>window.MathJax = { tex: { tags: "ams", }, }; </script>
<script async='async' id='MathJax-script' src='https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml-full.js' type='text/javascript'></script>
</head><body>
<!-- l. 9 --><p class='noindent'>\[ \frac {
tial u}{
tial x}=0 \]
</p>
</body>
</html>
=================
What happened? Why tex4ht no longer generates correct math? This only happens when using mathjax mode. When not using mathjax mode, the output is correct.
TL 2021 updated about 2 weeks ago on Linux.
Thank you
--Nasser
|