texlive[63983] Master/texmf-dist: protect \sum etc., tex4ht r1180
commits+karl at tug.org
commits+karl at tug.org
Tue Jul 26 23:43:11 CEST 2022
Revision: 63983
http://tug.org/svn/texlive?view=revision&revision=63983
Author: karl
Date: 2022-07-26 23:43:11 +0200 (Tue, 26 Jul 2022)
Log Message:
-----------
protect \sum etc., tex4ht r1180
Revision Links:
--------------
http://tug.org/svn/texlive?view=revision&revision=1180
Modified Paths:
--------------
trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex
trunk/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht
Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog 2022-07-26 19:41:43 UTC (rev 63982)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog 2022-07-26 21:43:11 UTC (rev 63983)
@@ -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/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex 2022-07-26 19:41:43 UTC (rev 63982)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex 2022-07-26 21:43:11 UTC (rev 63983)
@@ -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 @@
\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
Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht 2022-07-26 19:41:43 UTC (rev 63982)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht 2022-07-26 21:43:11 UTC (rev 63983)
@@ -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 @@
\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 tex-live-commits
mailing list.