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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Sat Jan 9 13:29:39 CET 2021


Author: michal_h21
Date: 2021-01-09 14:29:38 +0200 (Sat, 09 Jan 2021)
New Revision: 866

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-html4.tex
Log:
fixed amsmath display math

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2021-01-07 20:32:48 UTC (rev 865)
+++ trunk/lit/ChangeLog	2021-01-09 12:29:38 UTC (rev 866)
@@ -1,3 +1,9 @@
+2021-01-09  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-html4.tex (html4-math.4ht): fixed display math configuration for
+	Amsmath. It supports the split environment now.
+	https://tug.org/pipermail/tex4ht/2021q1/002856.html
+
 2021-01-07  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-ooffice.tex (ooffice.4ht): don't use \@namedef, in order to support

Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex	2021-01-07 20:32:48 UTC (rev 865)
+++ trunk/lit/tex4ht-html4.tex	2021-01-09 12:29:38 UTC (rev 866)
@@ -9551,7 +9551,22 @@
 
 \<configure html4-math amsmath\><<<
 \ifOption{mathjax}{}{%
-\Configure{[]}{\begin{equation*}\protect\nested:math}{\end{equation*}}
+\DeclareRobustCommand\[{%
+\bgroup%
+  \mathdisplay at push%
+  \st at rredtrue \global\@eqnswfalse%
+  \mathdisplay{equation*}%
+\csname st:Math\endcsname
+}
+
+\DeclareRobustCommand\]{%
+\csname ed:Math\endcsname
+  \endmathdisplay{equation*}%
+  \mathdisplay at pop%
+  \ignorespacesafterend%
+\egroup
+}
+\Configure{[]}{\protect\nested:math}{}
 }%
 >>>
 



More information about the tex4ht-commits mailing list.