summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-11-21 21:46:52 +0000
committerKarl Berry <karl@freefriends.org>2023-11-21 21:46:52 +0000
commit65db55b6682b02a60b91fb2c27af3649a4ed22db (patch)
tree3b8eb05cd363d864586c88759ca38bed8210779d
parent235633d2b0e28ee88b1bf0ad82ff2b8338c86f91 (diff)
<mtext> instead of <mrow>, tex4ht r1413
git-svn-id: svn://tug.org/texlive/trunk@68930 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/ChangeLog6
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex6
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/mathml.4ht22
3 files changed, 24 insertions, 10 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
index f36bdba9554..d2374fba2ca 100644
--- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog
+++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
@@ -1,3 +1,9 @@
+2023-11-21 Michal Hoftich <michal.h21@gmail.com>
+
+ * tex4ht-mathml.tex (mathml.4ht): use <mtext> instead of <mrow> in
+ \Configure{qopname} to prevent rendering errors with MathJax.
+ https://tex.stackexchange.com/a/701927/2891
+
2023-11-20 Michal Hoftich <michal.h21@gmail.com>
* tex4ht-4ht.tex (citation-style-language.4ht): added Citation Style
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex
index fe8614f5edf..504bd4c910c 100644
--- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex
+++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-mathml.tex 1377 2023-10-05 10:14:06Z michal_h21 $$
+% $Id: tex4ht-mathml.tex 1413 2023-11-21 16:43:06Z michal_h21 $$
% compile 3 times: latex tex4ht-mathltx
% or xhlatex tex4ht-mathltx "html,3,sections+"
%
@@ -2500,8 +2500,8 @@ for more details.
\<configure mathml amsopn\><<<
\Configure{qopname}
{\Configure{mathop}{*}
- {<\a:mathml mrow \mml:class="qopname">}
- {</\a:mathml mrow><mo> &\#x2061;<!--FUNCTION APPLICATION--> </mo>}
+ {<\a:mathml mtext \mml:class="qopname">}
+ {</\a:mathml mtext><mo> &\#x2061;<!--FUNCTION APPLICATION--> </mo>}
{}}
>>>
diff --git a/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht b/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht
index 68cdce1d924..df59ffa3408 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht
@@ -1,4 +1,4 @@
-% mathml.4ht (2023-10-05-13:12), generated from tex4ht-mathml.tex
+% mathml.4ht (2023-11-21-13:46), generated from tex4ht-mathml.tex
% Copyright 2009-2023 TeX Users Group
% Copyright 1999-2009 Eitan M. Gurari
%
@@ -17,7 +17,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2023-10-05-13:12}
+\immediate\write-1{version 2023-11-21-13:46}
\exit:ifnot{Preamble,%
accents,%
@@ -2394,6 +2394,8 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}%
+
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{plain}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -3266,8 +3268,8 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}%
\HLet\injlim=\:tempc
\Configure{qopname}
{\Configure{mathop}{*}
- {<\a:mathml mrow \mml:class="qopname">}
- {</\a:mathml mrow><mo> &\#x2061;<!--FUNCTION APPLICATION--> </mo>}
+ {<\a:mathml mtext \mml:class="qopname">}
+ {</\a:mathml mtext><mo> &\#x2061;<!--FUNCTION APPLICATION--> </mo>}
{}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -3440,6 +3442,8 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}%
+
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{vanilla}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -3804,6 +3808,9 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}%
+
+
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{dcolumn}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -4027,8 +4034,6 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}%
-
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{accents}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -4202,7 +4207,6 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}%
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{ulem}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -4377,5 +4381,9 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}%
+
+
+
+
\endinput