-
-
Notifications
You must be signed in to change notification settings - Fork 263
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
Hook enddocument/info
is written twice if rolled back
#1407
Labels
Milestone
Comments
I guess the solution is to clear the hook first since we do not know from which version we roll back and none of the later code should be there. |
Or skip both the |
\NewHook is needed in case of roll forward and it is properly handled/suppressed by the rollback code, so I think it is correct the way it is |
FrankMittelbach
added a commit
that referenced
this issue
Jul 13, 2024
FrankMittelbach
added
the
fixed in dev
Fixed in development branch, not in stable release
label
Jul 13, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Brief outline of the bug
If LaTeX is rolled back to 2020-10-01 or later,
enddocument/info
hook is written twice, once by the format and once by rollback code. This causes the file list (if enabled), end document warnings (if exist), and release info written to log twice.Minimal example showing the bug
shows in the log
Log file (required) and possibly PDF file
enddocument-info-hook-doubly-written.log
Related source code
\IncludeInRelease{2023/11/01}
latex2e/base/ltmiscen.dtx
Lines 279 to 285 in 0a5276b
\IncludeInRelease{2020/10/01}
latex2e/base/ltmiscen.dtx
Lines 392 to 398 in 0a5276b
The text was updated successfully, but these errors were encountered: