From d799c38fc0ba9e27d45de338bd25b00475ce2d86 Mon Sep 17 00:00:00 2001 From: Ulrike Fischer Date: Mon, 28 Oct 2024 16:31:39 +0100 Subject: [PATCH] restore theHHmpfootnote --- 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| % 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]{%