[latex3-commits] [git/LaTeX3-latex3-latex2e] newlabel: reword ltnews (fd7eee37)
Ulrike Fischer
fischer at troubleshooting-tex.de
Mon Dec 5 14:54:22 CET 2022
Repository : https://github.com/latex3/latex2e
On branch : newlabel
Link : https://github.com/latex3/latex2e/commit/fd7eee3745a662d5e801b9a854f6b0339191d6c3
>---------------------------------------------------------------
commit fd7eee3745a662d5e801b9a854f6b0339191d6c3
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Mon Dec 5 14:54:22 2022 +0100
reword ltnews
>---------------------------------------------------------------
fd7eee3745a662d5e801b9a854f6b0339191d6c3
base/doc/ltnews37.tex | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/base/doc/ltnews37.tex b/base/doc/ltnews37.tex
index 8398e9b2..56dcb4a8 100644
--- a/base/doc/ltnews37.tex
+++ b/base/doc/ltnews37.tex
@@ -151,8 +151,8 @@
\subsection{Extension of the \cs{label} command}
-Prevously, in standard \LaTeX{}, the \cs{label} command stored into the
-\cs{newlabel} command in the \texttt{.aux} file two values:
+Previously, in standard \LaTeX{}, the \cs{label} command stored into the
+second argument of the \cs{newlabel} command in the \texttt{.aux} file two values:
\cs{@currentlabel}, which normally contains the state of the current
counter, and \cs{thepage} for the current page number. \pkg{hyperref} and
\pkg{nameref} patched the \cs{label} command to store five values:
@@ -162,12 +162,11 @@ current title text and can be retrieved with \cs{nameref} and
active link. The fifth argument was only used if external
references were loaded with the \pkg{xr-hyper} package.
-Starting with this release, the number of arguments have been unified.
+Starting with this release, the number of values have been unified.
\cs{label} now writes a
-\cs{newlabel} command containing five values: \cs{@currentlabel},
-\cs{thepage}, \cs{@currentlabelname}, \cs{@currentHref}. The fifth
-container is reserved for the kernel and contains data needed for the
-tagged PDF project.
+\cs{newlabel} command containing five values in the second argument:
+\cs{@currentlabel}, \cs{thepage}, \cs{@currentlabelname},
+\cs{@currentHref}. The fifth value is reserved for the kernel.
Additionally a hook with the name \texttt{label} has been added. It is
executed before the writing to the \texttt{.aux} file. Code using
More information about the latex3-commits
mailing list.