summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-07-27 03:00:56 +0000
committerNorbert Preining <norbert@preining.info>2022-07-27 03:00:56 +0000
commitba846abb1dbfe9c19277bb894d88c7cce953b4be (patch)
tree8e086071d6cad7f29221e0a94fe03e60c2d5aaa1 /support
parentae37b2329c8f0475412617b3248d58906904d54d (diff)
CTAN sync 202207270300
Diffstat (limited to 'support')
-rw-r--r--support/TeX4ht/source/ChangeLog5
-rw-r--r--support/TeX4ht/source/tex4ht-mathml.tex4
2 files changed, 7 insertions, 2 deletions
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog
index 7c41010bb1..c4f37f88ff 100644
--- a/support/TeX4ht/source/ChangeLog
+++ b/support/TeX4ht/source/ChangeLog
@@ -1,3 +1,8 @@
+2022-07-26 Michal Hoftich <michal.h21@gmail.com>
+
+ * tex4ht-mathml.tex (mathml.4ht): protect \sum etc., in order to
+ work in sectioning commands.
+
2022-07-25 Michal Hoftich <michal.h21@gmail.com>
* tex4ht-4ht.tex (biblatex.4ht): don't redefine \MakeUppercase and
diff --git a/support/TeX4ht/source/tex4ht-mathml.tex b/support/TeX4ht/source/tex4ht-mathml.tex
index 3d4e80dc4d..f16d7c5f96 100644
--- a/support/TeX4ht/source/tex4ht-mathml.tex
+++ b/support/TeX4ht/source/tex4ht-mathml.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-mathml.tex 1175 2022-07-10 14:22:09Z karl $$
+% $Id: tex4ht-mathml.tex 1180 2022-07-26 08:09:24Z michal_h21 $$
% compile 3 times: latex tex4ht-mathltx
% or xhlatex tex4ht-mathltx "html,3,sections+"
%
@@ -3503,7 +3503,7 @@ from tex4ht-info.tex.
\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