Skip to content

Commit

Permalink
extra macro env
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcarlisle committed Jan 23, 2025
1 parent 4cc48df commit efa94d2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion base/ltxref.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down Expand Up @@ -463,7 +471,6 @@
% \end{macrocode}
% \end{plugdecl}
% \begin{macrocode}
\def\ltx@star@counter{*}
\def\refstepcounter#1{%
\UseSocket{refstepcounter}{%
\stepcounter{#1}%
Expand Down

0 comments on commit efa94d2

Please sign in to comment.