hyperref icon indicating copy to clipboard operation
hyperref copied to clipboard

latex warns `\theHfootnote` already defined

Open mbertucci47 opened this issue 1 year ago • 1 comments

With the current latex-dev, loading hyperref produces a warning

LaTeX Warning: Command `\theHfootnote' already defined -- not changed on input
\documentclass{article}
\usepackage{hyperref}
\begin{document}
\end{document}

Not a big deal obviously, but I'd guess not intentional?

I know latex added code to always define \theH<counter> and hyperref does \newcounter{Hfootnote} which is why this appears. But I'm not sure why hyperref needs Hfootnote as an actual counter instead of just the \theHfootnote representation.

mbertucci47 avatar Oct 16 '24 19:10 mbertucci47

I know about that and already a local fix. I will update hyperref soon but need to check a few packages first (it is odd that hyperref uses both footnote and Hfootnote as counter).

u-fischer avatar Oct 16 '24 19:10 u-fischer