[tex4ht-commits] [SCM] tex4ht updated: r1475 - trunk/lit

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Mon Feb 26 14:19:17 CET 2024


Author: michal_h21
Date: 2024-02-26 13:19:17 +0000 (Mon, 26 Feb 2024)
New Revision: 1475

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
make \footnotemark and \footnotetext robust

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2024-02-25 16:27:19 UTC (rev 1474)
+++ trunk/lit/ChangeLog	2024-02-26 13:19:17 UTC (rev 1475)
@@ -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/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2024-02-25 16:27:19 UTC (rev 1474)
+++ trunk/lit/tex4ht-4ht.tex	2024-02-26 13:19:17 UTC (rev 1475)
@@ -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]%



More information about the tex4ht-commits mailing list.