texlive[64911] Master/texmf-dist: group \mathcal, tex4ht r1234

commits+karl at tug.org commits+karl at tug.org
Wed Nov 2 23:28:54 CET 2022


Revision: 64911
          http://tug.org/svn/texlive?view=revision&revision=64911
Author:   karl
Date:     2022-11-02 23:28:54 +0100 (Wed, 02 Nov 2022)
Log Message:
-----------
group \mathcal, tex4ht r1234

Revision Links:
--------------
    http://tug.org/svn/texlive?view=revision&revision=1234

Modified Paths:
--------------
    trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
    trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex
    trunk/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2022-11-02 22:07:44 UTC (rev 64910)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2022-11-02 22:28:54 UTC (rev 64911)
@@ -1,10 +1,16 @@
+2022-11-02  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-mathml.tex (mathml.4ht): added extra group for \mathcal, to
+	prevent errors in subscripts etc.
+	https://github.com/michal-h21/make4ht/issues/95
+
 2022-11-01  Michal Hoftich  <michal.h21 at gmail.com>
 
-	* tex4ht-4ht.tex (mathml.4ht): don't add <mdt> elements for math
+	* tex4ht-mathml.tex (mathml.4ht): don't add <mdt> elements for math
 	array vspace, as it can lead to wrong size of the table.
 	https://github.com/michal-h21/make4ht/issues/91
 
-	* tex4ht-mathml.tex(mathml.4ht): prevent use of Unicode characters
+	* tex4ht-mathml.tex (mathml.4ht): prevent use of Unicode characters
 	inside \mathcal. 
 	https://github.com/michal-h21/make4ht/issues/95
 

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex	2022-11-02 22:07:44 UTC (rev 64910)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex	2022-11-02 22:28:54 UTC (rev 64911)
@@ -1,4 +1,4 @@
-% $Id: tex4ht-mathml.tex 1233 2022-11-01 13:36:13Z michal_h21 $$
+% $Id: tex4ht-mathml.tex 1234 2022-11-02 22:09:27Z michal_h21 $$
 % compile 3 times: latex tex4ht-mathltx
 %           or   xhlatex tex4ht-mathltx "html,3,sections+"
 %
@@ -4493,7 +4493,7 @@
 rendered correctly.
 
 \<redefine mathcal\><<<
-\def\:tempa#1{\HCode{<\a:mathml mstyle\Hnewline mathvariant="script">}#1\HCode{</\a:mathml mstyle>}}
+\def\:tempa#1{\bgroup\HCode{<\a:mathml mstyle\Hnewline mathvariant="script">}#1\HCode{</\a:mathml mstyle>}\egroup}
 \HLet\mathcal\:tempa
 >>>
 

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht	2022-11-02 22:07:44 UTC (rev 64910)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht	2022-11-02 22:28:54 UTC (rev 64911)
@@ -1,4 +1,4 @@
-% mathml.4ht (2022-11-01-13:10), generated from tex4ht-mathml.tex
+% mathml.4ht (2022-11-02-15:27), generated from tex4ht-mathml.tex
 % Copyright 2009-2022 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 2022-11-01-13:10}
+\immediate\write-1{version 2022-11-02-15:27}
 
 \exit:ifnot{Preamble,% 
 accents,% 
@@ -1419,7 +1419,7 @@
 \egroup
 \fi
 
-\def\:tempa#1{\HCode{<\a:mathml mstyle\Hnewline mathvariant="script">}#1\HCode{</\a:mathml mstyle>}}
+\def\:tempa#1{\bgroup\HCode{<\a:mathml mstyle\Hnewline mathvariant="script">}#1\HCode{</\a:mathml mstyle>}\egroup}
 \HLet\mathcal\:tempa
 
 \expandafter\ifx \csname o at everypar\endcsname\relax \else



More information about the tex-live-commits mailing list.