[tex4ht-commits] [SCM] tex4ht updated: r548 - trunk/lit
michal_h21 at gnu.org.ua
michal_h21 at gnu.org.ua
Fri Apr 5 16:01:28 CEST 2019
Author: michal_h21
Date: 2019-04-05 17:01:27 +0300 (Fri, 05 Apr 2019)
New Revision: 548
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-html4.tex
trunk/lit/tex4ht-mathjax.tex
Log:
Added support for 12917 display math in the mathjax mode
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2019-03-25 20:50:13 UTC (rev 547)
+++ trunk/lit/ChangeLog 2019-04-05 14:01:27 UTC (rev 548)
@@ -1,3 +1,9 @@
+2019-04-05 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-html4.tex (html4.4ht),
+ tex4ht-mathjax.tex (mathjax-latex-4ht.4ht): added support for $$ display
+ math.
+
2019-03-25 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-ooffice.tex (ooffice.4ht): use superscript for a
Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex 2019-03-25 20:50:13 UTC (rev 547)
+++ trunk/lit/tex4ht-html4.tex 2019-04-05 14:01:27 UTC (rev 548)
@@ -8558,6 +8558,7 @@
\Configure{$}{}{}{\expandafter\AltMathOne}
\Configure{()}{\AltlMath}{}
\Configure{[]}{\AltlDisplay}{}
+\Configure{$$}{}{}{\AltlDisplayDollars}
\fi
>>>
Modified: trunk/lit/tex4ht-mathjax.tex
===================================================================
--- trunk/lit/tex4ht-mathjax.tex 2019-03-25 20:50:13 UTC (rev 547)
+++ trunk/lit/tex4ht-mathjax.tex 2019-04-05 14:01:27 UTC (rev 548)
@@ -63,6 +63,9 @@
\long\def\AltlMath#1\){\expandafter\alteqtoks{\(#1\)}\)}
\long\def\AltlDisplay#1\]{\alteqtoks{\[#1\]}\]}
\long\def\AltMathOne#1${\alteqtoks{\(#1\)}$}
+% this seems a bit hacky -- we need to skip some code inserted at the
+% beginning of each display math
+\long\def\AltlDisplayDollars\fi#1$${\alteqtoks{\[#1\]}$$}
\newcommand\VerbMathToks[2]{%
\alteqtoks{\begin{#2}
More information about the tex4ht-commits
mailing list