[tex4ht-commits] [SCM] tex4ht updated: r1180 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Tue Jul 26 10:09:24 CEST 2022
Author: michal_h21
Date: 2022-07-26 08:09:24 +0000 (Tue, 26 Jul 2022)
New Revision: 1180
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-mathml.tex
Log:
protect \sum and other commands to prevent fatal errors in sections
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2022-07-25 20:40:57 UTC (rev 1179)
+++ trunk/lit/ChangeLog 2022-07-26 08:09:24 UTC (rev 1180)
@@ -1,3 +1,8 @@
+2022-07-26 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-mathml.tex (mathml.4ht): protect \sum etc., in order to
+ work in sectioning commands.
+
2022-07-25 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-4ht.tex (biblatex.4ht): don't redefine \MakeUppercase and
Modified: trunk/lit/tex4ht-mathml.tex
===================================================================
--- trunk/lit/tex4ht-mathml.tex 2022-07-25 20:40:57 UTC (rev 1179)
+++ trunk/lit/tex4ht-mathml.tex 2022-07-26 08:09:24 UTC (rev 1180)
@@ -3503,7 +3503,7 @@
\MathSymbol\mathop{#1}%
\expandafter\def\csname #1:limits\endcsname{\expandafter
\:same \math:sym\mathop{#1}\limits}%
- \expandafter\def\csname #1:nolimits\endcsname{\expandafter
+ \expandafter\ProvideDocumentCommand\csname #1:nolimits\endcsname{}{\expandafter
\:same \math:sym\mathop{#1}\nolimits}%
\expandafter\edef\csname n:#1:\endcsname{\noexpand\ifDisplayMath
\noexpand\expandafter \expandafter\noexpand \csname #1:limits\endcsname
More information about the tex4ht-commits
mailing list.