[latex3-commits] [latex3/hyperref] counter-adaption: restore theHHmpfootnote (d799c38)
github at latex-project.org
github at latex-project.org
Mon Oct 28 16:31:39 CET 2024
Repository : https://github.com/latex3/hyperref
On branch : counter-adaption
Link : https://github.com/latex3/hyperref/commit/d799c38fc0ba9e27d45de338bd25b00475ce2d86
>---------------------------------------------------------------
commit d799c38fc0ba9e27d45de338bd25b00475ce2d86
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Mon Oct 28 16:31:39 2024 +0100
restore theHHmpfootnote
>---------------------------------------------------------------
d799c38fc0ba9e27d45de338bd25b00475ce2d86
hyperref.dtx | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/hyperref.dtx b/hyperref.dtx
index 8c94a8b..e0652c9 100644
--- a/hyperref.dtx
+++ b/hyperref.dtx
@@ -10349,9 +10349,6 @@
\providecommand\theHHfootnote {\arabic{Hfootnote}}
\providecommand\theHmpfootnote{\arabic{mpfootnote}}
}
-\@ifundefined{theHHmpfootnote}{%
- \let\theHHmpfootnote\theHHfootnote
-}{}
% \end{macrocode}
% Tanmoy asked for this default handling of undefined |\theH<name>|
% situations. It really isn't clear what would be ideal, whether to
@@ -11072,7 +11069,13 @@
\let\theHfootnote\undefined
\newcounter{Hfootnote}
\let\theHfootnote\H@@theHfootnote
- } %
+ }%
+% \end{macrocode}
+% where is this used?
+% \begin{macrocode}
+ \@ifundefined{theHHmpfootnote}{%
+ \let\theHHmpfootnote\theHHfootnote
+ }{}
\let\H@@footnotetext\@footnotetext
\let\H@@footnotemark\@footnotemark
\def\@xfootnotenext[#1]{%
More information about the latex3-commits
mailing list.