summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-07-26 21:43:11 +0000
committerKarl Berry <karl@freefriends.org>2022-07-26 21:43:11 +0000
commita8d30f7983740aa485f519f49de5ac068c02431c (patch)
tree4697895e8afa2e63d9391cbce11bffa8c36b3ef7
parent7682fab0b5f67da429d083c98ad8a4135a2f7376 (diff)
protect \sum etc., tex4ht r1180
git-svn-id: svn://tug.org/texlive/trunk@63983 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/ChangeLog5
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex4
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/mathml.4ht6
3 files changed, 10 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
index 7c41010bb14..c4f37f88ffc 100644
--- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog
+++ b/Master/texmf-dist/source/generic/tex4ht/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/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex
index 3d4e80dc4d3..f16d7c5f960 100644
--- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex
+++ b/Master/texmf-dist/source/generic/tex4ht/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
diff --git a/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht b/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht
index 13875e0616b..95b07a721e2 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht
@@ -1,4 +1,4 @@
-% mathml.4ht (2022-07-05-14:37), generated from tex4ht-mathml.tex
+% mathml.4ht (2022-07-26-13:09), generated from tex4ht-mathml.tex
% Copyright 2009-2022 TeX Users Group
% Copyright 1999-2009 Eitan M. Gurari
%
@@ -17,7 +17,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2022-07-05-14:37}
+\immediate\write-1{version 2022-07-26-13:09}
\exit:ifnot{Preamble,%
accents,%
@@ -1684,7 +1684,7 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}%
\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