[tex4ht-commits] [SCM] tex4ht updated: r714 - trunk/lit
michal_h21 at gnu.org.ua
michal_h21 at gnu.org.ua
Sun May 31 21:36:45 CEST 2020
Author: michal_h21
Date: 2020-05-31 22:36:45 +0300 (Sun, 31 May 2020)
New Revision: 714
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-html4.tex
trunk/lit/tex4ht-mathjax.tex
Log:
Mathjax fixes
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2020-05-30 22:41:18 UTC (rev 713)
+++ trunk/lit/ChangeLog 2020-05-31 19:36:45 UTC (rev 714)
@@ -1,3 +1,10 @@
+2020-05-31 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-html4.tex (html4-math.4ht): added default definition for
+ \:RestoreMathjaxCatcodes.
+ * tex4ht-mathjax.tex (mathjax-latex-4ht.4ht): fix \sum in TOC.
+ https://puszcza.gnu.org.ua/bugs/index.php?468
+
2020-05-27 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-fonts-noncjk.tex,
Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex 2020-05-30 22:41:18 UTC (rev 713)
+++ trunk/lit/tex4ht-html4.tex 2020-05-31 19:36:45 UTC (rev 714)
@@ -8564,6 +8564,7 @@
}}
\Configure{MathjaxSource}{https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml-full.js}
\Configure{@HEAD}{\HCode{ <script type="text/javascript" async="async" id="MathJax-script" src="\a:MathjaxSource"></script> \Hnewline}}
+\edef\:RestoreMathjaxCatcodes{\catcode`\noexpand \&=\the\catcode`\&}
\def\:HandleMathjaxCatcodes{\edef\:RestoreMathjaxCatcodes{\catcode`\noexpand \&=\the\catcode`\&}\catcode`\&=11}
\Configure{$}{\:HandleMathjaxCatcodes}{\:RestoreMathjaxCatcodes}{\expandafter\AltMathOne}
% for some reason, it is necessary to specify the catcode change directly in the configuration
Modified: trunk/lit/tex4ht-mathjax.tex
===================================================================
--- trunk/lit/tex4ht-mathjax.tex 2020-05-30 22:41:18 UTC (rev 713)
+++ trunk/lit/tex4ht-mathjax.tex 2020-05-31 19:36:45 UTC (rev 714)
@@ -163,4 +163,5 @@
\fixmathjaxtoc\coth
\fixmathjaxtoc\log
\fixmathjaxtoc\ln
+\fixmathjaxtoc\sum
>>>
More information about the tex4ht-commits
mailing list.