[latex3-commits] [git/LaTeX3-latex3-hyperref] cleanup-patches: set currentcounter (8b48591)

Ulrike Fischer fischer at troubleshooting-tex.de
Mon Feb 21 22:38:20 CET 2022


Repository : https://github.com/latex3/hyperref
On branch  : cleanup-patches
Link       : https://github.com/latex3/hyperref/commit/8b48591c43bd9d92610c41bf33a49cf73c108ba1

>---------------------------------------------------------------

commit 8b48591c43bd9d92610c41bf33a49cf73c108ba1
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Mon Feb 21 22:38:20 2022 +0100

    set currentcounter


>---------------------------------------------------------------

8b48591c43bd9d92610c41bf33a49cf73c108ba1
 hyperref.dtx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/hyperref.dtx b/hyperref.dtx
index d7841a9..0adedb0 100644
--- a/hyperref.dtx
+++ b/hyperref.dtx
@@ -11317,7 +11317,8 @@
       \floatingpenalty \@MM
       \hsize\columnwidth
       \@parboxrestore
-      \edef\@currentlabel{\csname p at footnote\endcsname\@thefnmark}%
+      \def\@currentcounter{footnote}%
+      \protected at edef\@currentlabel{\csname p at footnote\endcsname\@thefnmark}%
       \@makefntext{}%
       \rule{\z@}{\footnotesep}%
       \bgroup





More information about the latex3-commits mailing list.