1

With the command \hyperref[link]{text} from the hyperref package, if the text breaks across pages and the first page has a footnote, then that footnote is erroneously also made a hyperlink.

Looks like a bug to me. Any elegant suggestions for fixes?

MWE:

\documentclass[11pt,a4paper]{article}

\usepackage{hyperref,lipsum,amsmath}

\begin{document}

First an equation: \begin{equation} x=y \label{eq} \end{equation} Now, a sentence.\footnote{A footnote.}

\lipsum[1-4]

\hyperref[eq]{Finally, a sentence hyperlinked to the equation above; because this hyperref-ed sentence breaks across the page, the unrelated footnote also becomes hyperlinked.}

\end{document}

lu_sin
  • 33

0 Answers0