[tex4ht] [bug #479] tex4ht generate an extra : in this math expression in matjax mode.

Nasser M. Abbasi puszcza-hackers at gnu.org.ua
Thu Jul 30 21:00:02 CEST 2020


                 Summary: tex4ht generate an extra : in this math expression
in matjax mode.
                 Project: tex4ht
            Submitted by: nma123
            Submitted on: Thu 30 Jul 2020 09:59:40 PM EEST
                Category: None
                Priority: 5 - Normal
                Severity: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any





To document this officially, I am posting this here also. screen shot at above


    W = \begin{vmatrix}
\sqrt {x} & {x}^{{\frac{3}{2}}} \\ 
{\frac {1}{2}{\frac {1}{\sqrt {x}}}} & {\frac {3}{2}\sqrt {x}}

Compiled using

       make4ht foo3.tex "mathjax"
tex4ht produces ":" in raw HTML before mathjax process it. Here is raw HTML

<html lang='en-US' xml:lang='en-US'> 
<meta charset='utf-8' /> 
<meta content='TeX4ht (https://tug.org/tex4ht/)' name='generator' /> 
<meta content='width=device-width,initial-scale=1' name='viewport' /> 
<link rel='stylesheet' href='foo3.css' type='text/css' /> 
<meta content='foo3.tex' name='src' /> 
 <script> window.MathJax = { tex: { tags: "ams", inlineMath: [ ["\\\(","\\\)"]
], displayMath: [ ['$$','$$'], ["\\[","\\]"] ], processEscapes: true,
processEnvironments: true, packages: ['base', 'color', 'ams'] }, loader: {
load: ['[tex]/color', '[tex]/ams'] } }; </script> 
 <script async='async'
id='MathJax-script' type='text/javascript'></script>  
<!-- l. 25 --><p class='noindent'>\[ W = \begin{vmatrix} \sqrt{x}
&{x}^{{\frac{3}{2}}} \\:{\frac{1}{2}{\frac{1}{\sqrt{x}}}}
&{\frac{3}{2}\sqrt{x}} \end{vmatrix} \]

TL 2020 on Linux

>make4ht --version
make4ht version v0.3e


Reply to this item at:


  Message sent via/by Puszcza

More information about the tex4ht mailing list.