-
Notifications
You must be signed in to change notification settings - Fork 37
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
Loading hyperref
with \AddToHook{begindocument}
#242
Comments
Caused by 32a9c4d#diff-d5dc5003cc3fc59b9302ead2d25eb3fe8bc437ce5882facaffe0830cb8c5222cR674 which postpones redefinition of When In general it's a bad idea, hence dangerous, to load any package with |
@muzimuzhi thank you for your explanation. I think I might have found a similar issue with EuropeCV. I reported it there. |
@scottkosty It looks like europecv could be modified to use
|
@davidcarlisle Thank you! I confirm that fixes things from what I can see. Before I make a pull request, I want to make sure I understand one thing and possibly put it in the release notes. If a user had the line Can you copy/paste your comment above into an answer to Thanks! |
@scottkosty as I think @u-fischer commented elsewhere we may be able to arrange that utf8x plays more nicely with hyperref, but it is very rarely needed these days so a class file like europecv shouldn't load it, then if an individual document does need that they can use the patch described in latex3/latex2e#833 if hyperref has not yet incorporated a similar patch. |
@davidcarlisle That all sounds good. Thanks for your patient explanations! |
I close this as resolved. As @muzimuzhi wrote it is a bad idea to load packages in the |
When loading the latest version of
hyperref
with\AddToHook{begindocument}
"Missing \endcsname inserted" comes up when using\ref
twice:The text was updated successfully, but these errors were encountered: