[tex4ht-commits] [SCM] tex4ht updated: r635 - trunk/lit
michal_h21 at gnu.org.ua
michal_h21 at gnu.org.ua
Sun Dec 15 19:29:09 CET 2019
Author: michal_h21
Date: 2019-12-15 20:29:09 +0200 (Sun, 15 Dec 2019)
New Revision: 635
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-html4.tex
trunk/lit/tex4ht-mathml.tex
Log:
configure Amsmath [] to eqation*
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2019-12-13 23:42:19 UTC (rev 634)
+++ trunk/lit/ChangeLog 2019-12-15 18:29:09 UTC (rev 635)
@@ -1,3 +1,10 @@
+2019-12-15 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-html4.tex (html4-math.4ht),
+ tex4ht-mathml.tex (mathml.4ht): configure Amsmath \[ ... \] to
+ \begin{equation*} ... \end{equation*}
+ https://tex.stackexchange.com/q/520375/2891
+
2019-12-13 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-html4.tex (html4.4ht): added p-indent and p-space options. First
Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex 2019-12-13 23:42:19 UTC (rev 634)
+++ trunk/lit/tex4ht-html4.tex 2019-12-15 18:29:09 UTC (rev 635)
@@ -9538,7 +9538,15 @@
\section{amsmath}
%%%%%%%%%%%%%%%%%%%%
+AmsMath redefines display math to equation*. We should follow it, but not in the MathJax mode.
+
\<configure html4-math amsmath\><<<
+\ifOption{mathjax}{}{%
+\Configure{[]}{\begin{equation*}}{\end{equation*}}
+}%
+>>>
+
+\<configure html4-math amsmath\><<<
\Configure{equation}
{\ifmmode\else\par \IgnorePar\fi \EndP
\HCode{<table\Hnewline class="equation"><tr><td>}\IgnorePar
Modified: trunk/lit/tex4ht-mathml.tex
===================================================================
--- trunk/lit/tex4ht-mathml.tex 2019-12-13 23:42:19 UTC (rev 634)
+++ trunk/lit/tex4ht-mathml.tex 2019-12-15 18:29:09 UTC (rev 635)
@@ -2251,6 +2251,10 @@
\<amsmath mathml\><<<
+\Configure{[]}{\begin{equation*}}{\end{equation*}}
+>>>
+
+\<amsmath mathml\><<<
\Configure{underrightarrow}
{\Tg<\a:mathml munder>\Tg<\a:mathml mrow\Hnewline>\:gobble}
{\Tg</\a:mathml mrow>\mathop{\rightarrow}\Tg</\a:mathml munder>}
More information about the tex4ht-commits
mailing list