Skip to content

Commit

Permalink
reword ltnews
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrike Fischer committed Dec 5, 2022
1 parent 411c3c1 commit fd7eee3
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions base/doc/ltnews37.tex
Expand Up @@ -151,8 +151,8 @@ \section{New or improved commands}

\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:
Expand All @@ -162,12 +162,11 @@ \subsection{Extension of the \cs{label} command}
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
Expand Down

0 comments on commit fd7eee3

Please sign in to comment.