[latex3-commits] [latex3/latex2e] newlabel: add note about new values (f6cd16e7)
github at latex-project.org
github at latex-project.org
Mon May 15 09:29:12 CEST 2023
Repository : https://github.com/latex3/latex2e
On branch : newlabel
Link : https://github.com/latex3/latex2e/commit/f6cd16e729e806a001ec15782de7861d453fb324
>---------------------------------------------------------------
commit f6cd16e729e806a001ec15782de7861d453fb324
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Mon May 15 09:29:12 2023 +0200
add note about new values
>---------------------------------------------------------------
f6cd16e729e806a001ec15782de7861d453fb324
base/ltxref.dtx | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/base/ltxref.dtx b/base/ltxref.dtx
index 1df027e5..d08b7f3e 100644
--- a/base/ltxref.dtx
+++ b/base/ltxref.dtx
@@ -93,6 +93,15 @@
% to align with the use of \pkg{hyperref}. Without \pkg{hyperref} (or some
% other package using the starred form) the star is simply ignored.
%
+% Note: starting with 2023-06-01 |\label| stores also the current value
+% of |\@currentlabelname| which should typically contain a (sanitized) title.
+% (A reference command |\nameref| is provided by the \pkg{nameref} package.)
+% |\label| also stores |\@currentHref| which if set should refer to a target name
+% for links. This value is set and used by \pkg{hyperref}. Unlike the other values
+% |\@currentHref| should be set globally. A fifth value |\@kernel at reserved@data|
+% is reserved for the kernel to allow future extensions of the cross-reference
+% system.
+%
%
% \MaybeStop{}
%
More information about the latex3-commits
mailing list.