[latex3-commits] [git/LaTeX3-latex3-latex2e] newlabel: reword new lablel item (411c3c10)
David Carlisle
d.p.carlisle at gmail.com
Sun Dec 4 17:56:31 CET 2022
Repository : https://github.com/latex3/latex2e
On branch : newlabel
Link : https://github.com/latex3/latex2e/commit/411c3c104ce002a1e73e0eea1bf5b51fa2326cc4
>---------------------------------------------------------------
commit 411c3c104ce002a1e73e0eea1bf5b51fa2326cc4
Author: David Carlisle <d.p.carlisle at gmail.com>
Date: Sun Dec 4 16:56:31 2022 +0000
reword new lablel item
>---------------------------------------------------------------
411c3c104ce002a1e73e0eea1bf5b51fa2326cc4
base/doc/ltnews37.tex | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/base/doc/ltnews37.tex b/base/doc/ltnews37.tex
index 1098c6f4..8398e9b2 100644
--- a/base/doc/ltnews37.tex
+++ b/base/doc/ltnews37.tex
@@ -151,20 +151,20 @@
\subsection{Extension of the \cs{label} command}
-Up to now the \cs{label} command stored in standard \LaTeX{} into the
-\cs{newlabel} command in the \texttt{.aux} file two data:
+Prevously, in standard \LaTeX{}, the \cs{label} command stored into 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} patch the \cs{label} command to store five data:
+\pkg{nameref} patched the \cs{label} command to store five values:
Additionally they save \cs{@currentlabelname}, which normally contains the
current title text and can be retrieved with \cs{nameref} and
\cs{@currentHref} which is the name of the destination needed to create an
-active link. The fifth data container is currently only used if external
-references are loaded with the \pkg{xr-hyper} package.
+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 be unified.
+Starting with this release, the number of arguments have been unified.
\cs{label} now writes a
-\cs{newlabel} command containing five data: \cs{@currentlabel},
+\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.
More information about the latex3-commits
mailing list.