-
-
Notifications
You must be signed in to change notification settings - Fork 267
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
PDF generation breaks with unstarred \enlargethispage and lualatex #1551
Comments
I should add that the error occurs only when the link breaks across pages. |
It is not a hyperref bug. You get the same error if you use the primitive:
The problem is that LaTeX boxes the two pages in different ways. With pdflatex there is no problem as (at my request) pdftex changed the error to a warning:
Sadly, luatex didn't want to follow (https://mailman.ntg.nl/archives/list/[email protected]/thread/VSHCA4WEQJJ5C3JJPVTPTYWYLDZ7TBHA/) A similar problem was resolved in 2018 in #94 for another case of boxing, so perhaps some adjustments in the LaTeX output can be done here and I will transfer the issue to latex2e. As a workaround add \enlargethispage{1sp} also on the next page, then box pages have the same boxing level. E.g.
|
just for my understanding; does the |
The following code breaks with luaLaTeX (texlive 2024) but not with pdflatex or plain latex:
with the error message
log file:
test.log
The starred variant of
\enlargethispage
seems to work fine, though.The text was updated successfully, but these errors were encountered: