[latex3-commits] [latex3/latex2e] add-theHcount: address review comments (d45e5f87)

github at latex-project.org github at latex-project.org
Sat Jun 17 20:20:05 CEST 2023


Repository : https://github.com/latex3/latex2e
On branch  : add-theHcount
Link       : https://github.com/latex3/latex2e/commit/d45e5f872e4850c5cb5c6d0fc833cceba7eb519c

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

commit d45e5f872e4850c5cb5c6d0fc833cceba7eb519c
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Sat Jun 17 20:20:05 2023 +0200

    address review comments


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

d45e5f872e4850c5cb5c6d0fc833cceba7eb519c
 base/doc/ltnews38.tex | 2 +-
 base/ltcounts.dtx     | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/base/doc/ltnews38.tex b/base/doc/ltnews38.tex
index 689076b9..921bc76e 100644
--- a/base/doc/ltnews38.tex
+++ b/base/doc/ltnews38.tex
@@ -144,7 +144,7 @@
 
 \section{New or improved commands}
 
-\subsection{Proving counter representations for link targets}
+\subsection{Provide counter representations for link targets}
 
 To create unique link targets the package 
 \pkg{hyperref} needs special counter representations
diff --git a/base/ltcounts.dtx b/base/ltcounts.dtx
index 287e2b19..dbcfeb1d 100644
--- a/base/ltcounts.dtx
+++ b/base/ltcounts.dtx
@@ -342,6 +342,10 @@
 %
 % \begin{macro}{\@addtoreset}
 %  \changes{v1.1n}{2023/06/15}{add the parent theHfoo if a counter is reset}
+%  If a counter is reset when a parent counter changes it no longer has an unique value
+%  across the document. As |\theH<counter>| should be unique 
+%  this representation is changed to include also the 
+%  representation of the parent. 
 %    \begin{macrocode}
 %</2ekernel>
 %<latexrelease>\IncludeInRelease{2023/11/01}{\@addtoreset}





More information about the latex3-commits mailing list.