diff options
Diffstat (limited to 'support/TeX4ht/source')
-rw-r--r-- | support/TeX4ht/source/ChangeLog | 6 | ||||
-rw-r--r-- | support/TeX4ht/source/tex4ht-4ht.tex | 10 | ||||
-rw-r--r-- | support/TeX4ht/source/tex4ht-mathjax.tex | 6 |
3 files changed, 18 insertions, 4 deletions
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog index ef1ad21663..25932eb8b7 100644 --- a/support/TeX4ht/source/ChangeLog +++ b/support/TeX4ht/source/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/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex index 13c70fc3d2..b17a83bd60 100644 --- a/support/TeX4ht/source/tex4ht-4ht.tex +++ b/support/TeX4ht/source/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/support/TeX4ht/source/tex4ht-mathjax.tex b/support/TeX4ht/source/tex4ht-mathjax.tex index 24c0ec87ae..23ca24a586 100644 --- a/support/TeX4ht/source/tex4ht-mathjax.tex +++ b/support/TeX4ht/source/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|> |