[tex4ht] [bug #537] tex4ht having trouble with $\frac{\partial u}{\partial x}=0$ in mathjax mode

Nasser M. Abbasi puszcza-hackers at gnu.org.ua
Wed Dec 1 23:07:32 CET 2021


URL:
  <http://puszcza.gnu.org.ua/bugs/?537>

                 Summary: tex4ht having trouble with $\frac{\partial
u}{\partial x}=0$ in mathjax mode
                 Project: tex4ht
            Submitted by: nma123
            Submitted on: Thu Dec  2 00:07:32 2021
                Category: None
                Priority: 5 - Normal
                Severity: 7 - Important
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

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






    _______________________________________________________

Reply to this item at:

  <http://puszcza.gnu.org.ua/bugs/?537>

_______________________________________________
  Message sent via/by Puszcza
  http://puszcza.gnu.org.ua/



More information about the tex4ht mailing list.