diff options
author | Karl Berry <karl@freefriends.org> | 2024-02-26 22:10:18 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-02-26 22:10:18 +0000 |
commit | abd8a32d2499d35028d23148eebeb276995fecd0 (patch) | |
tree | 7ae8c29071cd0ce187f2d8ba8a3bc4a0d7bc84d2 /Master/texmf-dist/source/generic | |
parent | 7601acc97e5606a954255c65ba9a200d27230d51 (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')
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/ChangeLog | 6 | ||||
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex | 10 | ||||
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/tex4ht-mathjax.tex | 6 |
3 files changed, 18 insertions, 4 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog index ef1ad216638..25932eb8b7c 100644 --- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog +++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog @@ -1,3 +1,9 @@ +2024-02-26 Michal Hoftich <michal.h21@gmail.com> + + * tex4ht-4ht.tex (latex.4ht): make \footnotemark and \footnotetext + robust using \MakeRobust to make them work in section titles. + https://puszcza.gnu.org.ua/bugs/?622 + 2024-02-23 Michal Hoftich <michal.h21@gmail.com> * tex4ht-jats.tex (jats.4ht): added Permissions configuration for 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]% diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathjax.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathjax.tex index 24c0ec87aee..23ca24a586c 100644 --- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathjax.tex +++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathjax.tex @@ -1,7 +1,7 @@ -% $Id: tex4ht-mathjax.tex 1460 2024-02-13 13:55:59Z michal_h21 $ +% $Id: tex4ht-mathjax.tex 1474 2024-02-25 16:27:19Z karl $ % compile: latex tex4ht-mathjax % -% Copyright 2018-2023 TeX Users Group +% Copyright 2018-2024 TeX Users Group % Released under LPPL 1.3c+. % See tex4ht-cpright.tex for license text. @@ -19,7 +19,7 @@ \<mathjax-latex-4ht\><<< % mathjax-latex-4ht.4ht (|version), generated from |jobname.tex -% Copyright 2018-2023 TeX Users Group +% Copyright 2018-2024 TeX Users Group |<TeX4ht copywrite|> |<required packages|> |<defined commands|> |