[latex3-commits] [git/LaTeX3-latex3-latex2e] fixcurrentcounter: add missing default definition of \@currentcounter (ebf8c000)

Ulrike Fischer fischer at troubleshooting-tex.de
Sun Aug 23 15:08:31 CEST 2020


Repository : https://github.com/latex3/latex2e
On branch  : fixcurrentcounter
Link       : https://github.com/latex3/latex2e/commit/ebf8c000b3e91b30be3fbb9620e247d559d1a200

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

commit ebf8c000b3e91b30be3fbb9620e247d559d1a200
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Sun Aug 23 15:08:31 2020 +0200

    add missing default definition of \@currentcounter


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

ebf8c000b3e91b30be3fbb9620e247d559d1a200
 base/changes.txt | 5 +++++
 base/ltxref.dtx  | 4 +++-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/base/changes.txt b/base/changes.txt
index 69027d9e..71e38461 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -6,6 +6,11 @@ completeness or accuracy and it contains some references to files that
 are not part of the distribution.
 ================================================================================
 
+2020-08-23 Ulrike Fischer <Ulrike.Fischer at latex-project.org>
+
+	* ltxref.dtx:
+	added default definition for @currentcounter
+
 2020-08-20  David Carlisle  <David.Carlisle at latex-project.org>
 
 	* ltplain.dtx: define legacy command \alloc@ in terms of
diff --git a/base/ltxref.dtx b/base/ltxref.dtx
index 98187571..88150546 100644
--- a/base/ltxref.dtx
+++ b/base/ltxref.dtx
@@ -33,7 +33,7 @@
 %<*driver>
 % \fi
 \ProvidesFile{ltxref.dtx}
-             [2020/05/07 v1.1n LaTeX Kernel (Cross Referencing)]
+             [2020/08/23 v1.1o LaTeX Kernel (Cross Referencing)]
 % \iffalse
 \documentclass{ltxdoc}
 \GetFileInfo{ltxref.dtx}
@@ -318,7 +318,9 @@
 %  \begin{macro}{\refstepcounter}
 %     Step the counter and allow for labels to point to its current value.
 %  \changes{v1.1n}{2020/05/05}{record the counter name in \cs{@currentcounter}}
+%  \changes{v1.1o}{2020/08/23}{add default definition of \cs{@currentcounter}}
 %    \begin{macrocode}
+\def\@currentcounter{}
 \def\refstepcounter#1{\stepcounter{#1}%
     \edef\@currentcounter{#1}%
     \protected at edef\@currentlabel





More information about the latex3-commits mailing list.