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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Thu Sep 7 12:32:15 CEST 2023


Author: michal_h21
Date: 2023-09-07 10:32:15 +0000 (Thu, 07 Sep 2023)
New Revision: 1366

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-mathml.tex
Log:
fixed handling of inline math in the dcases* environment

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2023-09-04 14:49:39 UTC (rev 1365)
+++ trunk/lit/ChangeLog	2023-09-07 10:32:15 UTC (rev 1366)
@@ -1,3 +1,9 @@
+2023-09-07  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-mathml.tex (mathml.4ht): fixed handling of inline math
+	inside the dcases* environment.
+	https://github.com/michal-h21/make4ht/issues/135
+
 2023-09-04  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-mathml.tex (mathml.4ht): fixed spacing in \limsup,

Modified: trunk/lit/tex4ht-mathml.tex
===================================================================
--- trunk/lit/tex4ht-mathml.tex	2023-09-04 14:49:39 UTC (rev 1365)
+++ trunk/lit/tex4ht-mathml.tex	2023-09-07 10:32:15 UTC (rev 1366)
@@ -2578,6 +2578,10 @@
     \ifnum\HCol=2
        \PauseMathClass
        \HCode{<\a:mathml mtext>}%
+       % the content of this environment is displayed as text, we must switch back to the normal math processing
+       % in inline math
+       \Configure{$}{\EndPauseMathClass\HCode{</\a:mathml mtext>}}{\PauseMathClass\HCode{<\a:mathml mtext>}}{}%
+       \Configure{()}{\HCode{</\a:mathml mtext>}\EndPauseMathClass$}{$\PauseMathClass\HCode{<\a:mathml mtext>}}{}%
     \fi
    }
    {\ifnum\HCol=2 



More information about the tex4ht-commits mailing list.