hyperref icon indicating copy to clipboard operation
hyperref copied to clipboard

Link across two pages is visually broken (includes header/footer)

Open genodeftest opened this issue 7 years ago • 2 comments

See https://tex.stackexchange.com/q/330669 for a MWE, a result (picture) and a workaround.

When a link spans across pages, page header and footer also become part of this link, which looks broken.

genodeftest avatar Feb 09 '18 20:02 genodeftest

Thanks for posting that here. I can't promise an immediate fix, but at least with an open issue, it won't get lost.

davidcarlisle avatar Feb 09 '18 20:02 davidcarlisle

There is imho nothing hyperref can do here. The problem is that fancyhdr adds a box around the footer (and the header). This means that now the footer has the same (or greater) box nesting level as the main text body and the lowlevel primitive \pdfstartlink will include the footer in the link. With xetex you could interrupt the link in the footer, but nothing similar exists for pdftex or luatex.

u-fischer avatar Dec 14 '18 18:12 u-fischer

This problem is resolved in a current texlive if the pdf management is loaded. https://tex.stackexchange.com/a/578405/2388

u-fischer avatar Nov 13 '22 15:11 u-fischer