[latex3-commits] [git/LaTeX3-latex3-latex2e] master: a few words on remreset and chngcntr (ef744e2)
Frank Mittelbach
frank.mittelbach at latex-project.org
Sat Mar 17 17:12:51 CET 2018
Repository : https://github.com/latex3/latex2e
On branch : master
Link : https://github.com/latex3/latex2e/commit/ef744e223952a09c66c4a72d47f60ec6c502d9b6
>---------------------------------------------------------------
commit ef744e223952a09c66c4a72d47f60ec6c502d9b6
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Sat Mar 17 17:12:51 2018 +0100
a few words on remreset and chngcntr
>---------------------------------------------------------------
ef744e223952a09c66c4a72d47f60ec6c502d9b6
doc/ltnews28.tex | 21 ++++++++++++++++++++-
1 file changed, 20 insertions(+), 1 deletion(-)
diff --git a/doc/ltnews28.tex b/doc/ltnews28.tex
index 10048e8..16a98fc 100644
--- a/doc/ltnews28.tex
+++ b/doc/ltnews28.tex
@@ -35,7 +35,7 @@
\usepackage{lmodern,url,hologo}
-\publicationmonth{Januar}
+\publicationmonth{March}
\publicationyear{2018}
\publicationissue{28}
@@ -82,6 +82,25 @@ The requirements and the workflow for reporting a bug in the core
and with further details also discussed in~\cite{Mittelbach:TB39-1}.
+\section{Integration of \pkg{remreset} and \pkg{chngcntr} packages
+ into the kernel}
+
+With the optional argument to \cs{newcounter} \LaTeX{} offers to
+automatically reset counters when some counter is stepped, e.g.,
+stepping a \texttt{chapter} counter resets the \texttt{section}
+counter (and recursively all other heading counters). However, what
+was until now missing was a way to undo such a link between counters
+or to link two counters after they have been defined.
+
+This can be now down with \cs{counterwithin} and \cs{counterwithout},
+respectively. In the past one had to load the \pkg{chngcntr} package
+for this. For the programming level we also added
+\cs{@removefromreset} as the counterpart o the already existing
+\cs{@addtoreset} command. Up to now this was offered by the
+\pkg{remreset} package.
+
+
+
\section{Further TU encoding improvements}
Anything here?
More information about the latex3-commits
mailing list