[latex3-commits] [git/LaTeX3-latex3-latex2e] gh687: add news entry (f516dfa0)

Frank Mittelbach frank.mittelbach at latex-project.org
Fri Oct 15 19:52:50 CEST 2021


Repository : https://github.com/latex3/latex2e
On branch  : gh687
Link       : https://github.com/latex3/latex2e/commit/f516dfa067b55f1ac7250e85176b3fd1618246d5

>---------------------------------------------------------------

commit f516dfa067b55f1ac7250e85176b3fd1618246d5
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Fri Oct 15 19:52:50 2021 +0200

    add news entry


>---------------------------------------------------------------

f516dfa067b55f1ac7250e85176b3fd1618246d5
 base/doc/ltnews34.tex | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/base/doc/ltnews34.tex b/base/doc/ltnews34.tex
index d2507f69..83c0fa7e 100644
--- a/base/doc/ltnews34.tex
+++ b/base/doc/ltnews34.tex
@@ -551,6 +551,23 @@ the callback handler indicates to remove the entire math block.
 \githubissue{644}
 
 
+\subsection{Extended label handling in Package code}
+
+Since 2020, as noted in \LaTeX News 32~\cite{34:ltnews32}, \LaTeX\ has
+recorded the name of the counter associated with the current label in
+the internal command \cs{@currentcounter}.  This facility (originally
+from the \pkg{zref} package of Heiko Oberdiek) can be used to generate
+prefixes such as \enquote{Figure} before the reference text.  In the
+common case the current label is set by \cs{refstepcounter} and the
+counter name is stored automatically, but some constructs (alignments
+and footnotes) may need to store the current label directly. In such a
+case it is useful to also update \cs{@currentcounter}. In this release
+the footnote command in the kernel the \pkg{amsmath} package has been
+updated in this way.  We encourage maintainers of any class and
+package files that are defining \cs{@currentlabel} to set
+\cs{@currentcounter} at the same point.
+%
+\githubissue{300, 687}
 
 
 \subsection{???}





More information about the latex3-commits mailing list.