texlive[70182] Master/texmf-dist: make \footnotemark,\footnotetext

commits+karl at tug.org commits+karl at tug.org
Mon Feb 26 23:10:18 CET 2024


Revision: 70182
          https://tug.org/svn/texlive?view=revision&revision=70182
Author:   karl
Date:     2024-02-26 23:10:18 +0100 (Mon, 26 Feb 2024)
Log Message:
-----------
make \footnotemark,\footnotetext robust, tex4ht r1475

Revision Links:
--------------
    https://tug.org/svn/texlive?view=revision&revision=1475

Modified Paths:
--------------
    trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
    trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
    trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathjax.tex
    trunk/Master/texmf-dist/tex/generic/tex4ht/latex.4ht

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2024-02-26 21:00:54 UTC (rev 70181)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2024-02-26 22:10:18 UTC (rev 70182)
@@ -1,3 +1,9 @@
+2024-02-26  Michal Hoftich  <michal.h21 at 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 at gmail.com>
 
 	* tex4ht-jats.tex (jats.4ht): added Permissions configuration for

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2024-02-26 21:00:54 UTC (rev 70181)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2024-02-26 22:10:18 UTC (rev 70182)
@@ -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 @@
    \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 @@
    \o:footnotetext:
 }
 \HLet\footnotetext\:tempc
+
+% fix \footnotetext in \section*
+\MakeRobust\footnotetext
+
 \def\:tempc[#1]{%
    \HAssign\FNnum = #1\relax
    \o:@xfootnotenext:[#1]%

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathjax.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathjax.tex	2024-02-26 21:00:54 UTC (rev 70181)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathjax.tex	2024-02-26 22:10:18 UTC (rev 70182)
@@ -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|>

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/latex.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/latex.4ht	2024-02-26 21:00:54 UTC (rev 70181)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/latex.4ht	2024-02-26 22:10:18 UTC (rev 70182)
@@ -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 @@
    \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 @@
    \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 @@
 \expandafter\:temp\usepackage!*?: 
 \def\:tempa{\@latex at 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 @@
 %
 % 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}$}}}



More information about the tex-live-commits mailing list.