Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hyperref: link across pages, footnote is still included #57

Open
baarreth opened this issue Nov 5, 2023 · 0 comments
Open

Hyperref: link across pages, footnote is still included #57

baarreth opened this issue Nov 5, 2023 · 0 comments

Comments

@baarreth
Copy link

baarreth commented Nov 5, 2023

Hello.
I hope I am posting this in the right place.

It was a known problem that if a long hyperlink happens to be in the end of a page, and continues in the next one, hyperref will include in the link box both footer of the first page and the header of the next one.
While the current hgeneric-testphase.def works greatly (when activated by \DocumentMetadata{testphase=new-or-1} before \documentclass), the problem persists with footnotes.

In the example below, "chanceler imperial" is a hyperlink that spans across two pages. Without the current driver, footnote, footer and header are included in the link box. With the driver, footer and header are excluded, but the footnote persists.

Without \DocumentMetadata{testphase=new-or-1}
image
image

With \DocumentMetadata{testphase=new-or-1}
image
image

In this link, Ulrike Fischer provides a proper explanation of the issue, and a xpatch to avoid it for footer and header (which still works in latex 2023).

Could you provide a temporary xpatch for the footnote as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant