-
Notifications
You must be signed in to change notification settings - Fork 143
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
correct label data #917
Comments
@u-fischer Thanks a lot! |
Thank you both! |
@samcarter It could be that it is needed here too
but I have no test files to check. |
With the following, the aux file would contain equation.1. Does this need changing?
|
yes. If you use |
@u-fischer added 8ba8b9f |
thanks. And thinking about it, it is probably better to expand the key name, so |
done :) |
let's hope that not nobody uses something in the \label key stuff that doesn't like an xdef. But in view that beamer uses it since a long type for destination names one can hope that it is safe. If not one will have to add some protections ... |
@samcarter Might I add a (related) request here? When you set a label as in: \begin{frame}[label=foo]
content...
\end{frame} The EDIT: With the caveat that my \def\refcounter#1{\edef\@currentcounter{#1}%
\protected@edef\@currentlabel%
{\csname p@#1\endcsname\csname the#1\endcsname}}% EDIT 2: I also see a couple of direct settings to |
In beamer anchors are created by the
\label
command, have the name of the key and\ref{key}
references the anchorkey
.The data written to the aux-file doesn't reflect that. Beamer always writes
Doc-Start
as anchor.This makes it hard for other code to create correct hyperlinks, for example
\hyperref
doesn't work, but also zref-clever has problems https://tex.stackexchange.com/q/730782/2388 (and the tagging code needs the anchors too)I suggest to update
\@currentHref
before issuing the label:The text was updated successfully, but these errors were encountered: