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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Mon Sep 25 16:17:53 CEST 2023


Author: michal_h21
Date: 2023-09-25 14:17:53 +0000 (Mon, 25 Sep 2023)
New Revision: 1374

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-mathml.tex
Log:
check for the existence of the mathvariant csname

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2023-09-25 11:08:51 UTC (rev 1373)
+++ trunk/lit/ChangeLog	2023-09-25 14:17:53 UTC (rev 1374)
@@ -1,5 +1,8 @@
 2023-09-25  Michal Hoftich  <michal.h21 at gmail.com>
 
+	* tex4ht-mathml.tex (mathml.4ht): check for the existence of the
+	mathvariant csname.
+
 	* tex4ht-ooffice.tex (ooffice.4ht): use <text:p> elements instead of
 	<text:h> for list environments. They were included in the TOC after
 	automatic TOC update in LibreOffice.

Modified: trunk/lit/tex4ht-mathml.tex
===================================================================
--- trunk/lit/tex4ht-mathml.tex	2023-09-25 11:08:51 UTC (rev 1373)
+++ trunk/lit/tex4ht-mathml.tex	2023-09-25 14:17:53 UTC (rev 1374)
@@ -1866,7 +1866,7 @@
 \<mathversion config\><<<
 \append:defI\mathversion{%
     % \a:DviMathML is executed at the beginning of math \a:@math is hook for attributes. we need to append out tags to it
-    \Configure{DviMathML}{\append:def\a:@math{\expandafter\csname :mathversion-\math at version\endcsname}}{}%
+    \Configure{DviMathML}{\append:def\a:@math{\ifcsname :mathversion-\math at version\endcsname\expandafter\csname :mathversion-\math at version\endcsname\fi}}{}%
 }
 >>>
 



More information about the tex4ht-commits mailing list.