[tex4ht-commits] [SCM] tex4ht updated: r1234 - trunk/lit

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Wed Nov 2 23:09:27 CET 2022


Author: michal_h21
Date: 2022-11-02 22:09:27 +0000 (Wed, 02 Nov 2022)
New Revision: 1234

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-mathml.tex
Log:
use extra group for \mathcal

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2022-11-01 13:36:13 UTC (rev 1233)
+++ trunk/lit/ChangeLog	2022-11-02 22:09:27 UTC (rev 1234)
@@ -1,6 +1,12 @@
+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
 

Modified: trunk/lit/tex4ht-mathml.tex
===================================================================
--- trunk/lit/tex4ht-mathml.tex	2022-11-01 13:36:13 UTC (rev 1233)
+++ trunk/lit/tex4ht-mathml.tex	2022-11-02 22:09:27 UTC (rev 1234)
@@ -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
 >>>
 



More information about the tex4ht-commits mailing list.