summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/ChangeLog6
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex10
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-mathjax.tex6
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/latex.4ht20
4 files changed, 32 insertions, 10 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|>
diff --git a/Master/texmf-dist/tex/generic/tex4ht/latex.4ht b/Master/texmf-dist/tex/generic/tex4ht/latex.4ht
index 6d3fbeac2c2..ab7e09cf2bc 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/latex.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/latex.4ht
@@ -1,6 +1,6 @@
-% latex.4ht (2023-11-09-13:34), generated from tex4ht-4ht.tex
+% latex.4ht (2024-02-26-13:19), generated from tex4ht-4ht.tex
% Copyright 1997-2009 Eitan M. Gurari
-% Copyright 2009-2023 TeX Users Group
+% Copyright 2009-2024 TeX Users Group
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
@@ -17,7 +17,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2023-11-09-13:34}
+\immediate\write-1{version 2024-02-26-13:19}
\ifx\SaveMkHalignConf:g\:UnDef \else \expandafter\endinput\fi
@@ -1550,6 +1550,10 @@ $\vcenter
\o:footnotemark:
}
\HLet\footnotemark\:tempc
+
+% fix \footnotemark in \section*
+\MakeRobust\footnotemark
+
\def\:tempc[#1]{%
\HAssign\FNnum = #1\relax
\o:@xfootnotemark:[#1]%
@@ -1560,6 +1564,10 @@ $\vcenter
\o:footnotetext:
}
\HLet\footnotetext\:tempc
+
+% fix \footnotetext in \section*
+\MakeRobust\footnotetext
+
\def\:tempc[#1]{%
\HAssign\FNnum = #1\relax
\o:@xfootnotenext:[#1]%
@@ -2329,9 +2337,9 @@ $\vcenter
\expandafter\:temp\usepackage!*?:
\def\:tempa{\@latex@e@error}
\ifx \:temp\:tempa
- % latex209.4ht (2023-11-09-13:34), generated from tex4ht-4ht.tex
+ % latex209.4ht (2024-02-26-13:19), generated from tex4ht-4ht.tex
% Copyright 1997-2009 Eitan M. Gurari
-% Copyright 2009-2023 TeX Users Group
+% Copyright 2009-2024 TeX Users Group
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
@@ -2348,7 +2356,7 @@ $\vcenter
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2023-11-09-13:34}
+\immediate\write-1{version 2024-02-26-13:19}
\let\:fnsymbol\@fnsymbol
\def\@fnsymbol#1{{\hbox{$\:fnsymbol{#1}$}}}