From efa94d2ff93364bd36495d255e0c9b38e9bda86e Mon Sep 17 00:00:00 2001 From: David Carlisle Date: Thu, 23 Jan 2025 09:22:53 +0000 Subject: [PATCH] extra macro env --- base/ltxref.dtx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/base/ltxref.dtx b/base/ltxref.dtx index 049f5c780..da2d9a6ae 100644 --- a/base/ltxref.dtx +++ b/base/ltxref.dtx @@ -418,6 +418,14 @@ % % % \begin{macro}{\refstepcounter} +% \changes{v1.1t}{2025/01/22}{Macro added} +% Saved |*| for testing the argument of \cs{refstepcounter}. +% \begin{macrocode} +\def\ltx@star@counter{*} +% \end{macrocode} +% \end{macro} +% +% \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}} @@ -463,7 +471,6 @@ % \end{macrocode} % \end{plugdecl} % \begin{macrocode} -\def\ltx@star@counter{*} \def\refstepcounter#1{% \UseSocket{refstepcounter}{% \stepcounter{#1}%