summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-02-26 22:10:18 +0000
committerKarl Berry <karl@freefriends.org>2024-02-26 22:10:18 +0000
commitabd8a32d2499d35028d23148eebeb276995fecd0 (patch)
tree7ae8c29071cd0ce187f2d8ba8a3bc4a0d7bc84d2 /Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
parent7601acc97e5606a954255c65ba9a200d27230d51 (diff)
make \footnotemark,\footnotetext robust, tex4ht r1475
git-svn-id: svn://tug.org/texlive/trunk@70182 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex')
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex10
1 files changed, 9 insertions, 1 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
index 13c70fc3d2c..b17a83bd604 100644
--- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
+++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1465 2024-02-21 13:48:35Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1475 2024-02-26 13:19:17Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2024 TeX Users Group
@@ -12427,6 +12427,10 @@ The following assign the counter into \''\FNnum'.
\o:footnotemark:
}
\HLet\footnotemark\:tempc
+
+% fix \footnotemark in \section*
+\MakeRobust\footnotemark
+
\def\:tempc[#1]{%
\HAssign\FNnum = #1\relax
\o:@xfootnotemark:[#1]%
@@ -12437,6 +12441,10 @@ The following assign the counter into \''\FNnum'.
\o:footnotetext:
}
\HLet\footnotetext\:tempc
+
+% fix \footnotetext in \section*
+\MakeRobust\footnotetext
+
\def\:tempc[#1]{%
\HAssign\FNnum = #1\relax
\o:@xfootnotenext:[#1]%