bugtex4ht - Bugs: bug #479, tex4ht generate an extra : in this...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

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

Submitted by:  Nasser M. Abbasi <nma123>
Submitted on:  Thu Jul 30 18:59:40 2020  
 
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Thu Jul 30 20:27:11 2020, comment #1:

I've fixed that in the sources, details are at TeX.sx.

Michal Hoftich <michal_h21>
Project Member
Thu Jul 30 18:59:40 2020, original submission:

Reference:

https://tex.stackexchange.com/questions/555636/why-does-make4ht-generate-an-extra-in-this-math-expression

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

=====================
\documentclass{article}
\usepackage{amsmath}
\begin{document}

\[
W = \begin{vmatrix}
\sqrt {x} & {x}^{{\frac{3}{2}}} \\
{\frac {1}{2}{\frac {1}{\sqrt {x}}}} & {\frac {3}{2}\sqrt {x}}
\end{vmatrix}
\]
\end{document}
==============

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'>
<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 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' src='https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml-full.js' id='MathJax-script' type='text/javascript'></script>
</head><body>
<!-- l. 25 --><p class='noindent'>\[ W = \begin{vmatrix} \sqrt{x} &amp;{x}^{{\frac{3}{2}}} \\:{\frac{1}{2}{\frac{1}{\sqrt{x}}}} &amp;{\frac{3}{2}\sqrt{x}} \end{vmatrix} \]
</p>

</body>
</html>
==========================

TL 2020 on Linux

>make4ht --version

make4ht version v0.3e

Nasser M. Abbasi <nma123>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by michal_h21 (Posted a comment)
  • -unavailable- added by nma123 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    1 latest change follows.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu Jul 30 20:27:11 2020michal_h21Open/ClosedOpen=>Closed
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray