-
Notifications
You must be signed in to change notification settings - Fork 7
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
\@currentlabelname
is not correctly sanitized
#64
Comments
I’m reopening this issue because it won’t get fixed in the short or medium term. |
@u-fischer this is possibly enough, without introducing a new package dependency?
|
It would fix the label case, but generally I think it would be better if not every package defines its own sanitizing variant. |
@u-fischer hmm we could also fix this in the kernel by copying the normalization used by
|
@davidcarlisle that is a good idea. |
titlesec defines
\@currentlabelname
in\ttl@straight@i
but doesn't sanitized the argument.If nameref is loaded this more or less works, but without it it breaks in a current LaTeX which now stores the labelname too:
gives
titlesec could load the gettitlestring package and then do:
The text was updated successfully, but these errors were encountered: