[latex3-commits] [git/LaTeX3-latex3-latex2e] gh963: added code for #963 (WIP) (fc42c563)

Frank Mittelbach frank.mittelbach at latex-project.org
Thu Nov 24 16:17:23 CET 2022


Repository : https://github.com/latex3/latex2e
On branch  : gh963
Link       : https://github.com/latex3/latex2e/commit/fc42c56324fca67749e6a5747868dfc3629572c9

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

commit fc42c56324fca67749e6a5747868dfc3629572c9
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Thu Nov 24 16:17:23 2022 +0100

    added code for #963 (WIP)


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

fc42c56324fca67749e6a5747868dfc3629572c9
 base/changes.txt                                   |  6 ++
 base/doc/ltnews37.tex                              | 11 +++
 base/doc/usrguide.tex                              | 25 +++++--
 base/ltdefns.dtx                                   | 78 +++++++++++++++++++++-
 base/testfiles-ltcmd/github-0963.lvt               | 36 ++++++++++
 base/testfiles-ltcmd/github-0963.tlg               | 77 +++++++++++++++++++++
 base/testfiles/github-0479-often.luatex.tlg        |  2 +
 base/testfiles/github-0479-often.tlg               |  2 +
 base/testfiles/github-0479-often.xetex.tlg         |  2 +
 .../tlb-latexrelease-rollback-003-often.luatex.tlg |  4 ++
 .../tlb-latexrelease-rollback-003-often.tlg        |  4 ++
 .../tlb-latexrelease-rollback-003-often.xetex.tlg  |  4 ++
 ...tlb-latexrelease-rollback-2020-10-01.luatex.tlg |  2 +
 .../tlb-latexrelease-rollback-2020-10-01.tlg       |  2 +
 .../tlb-latexrelease-rollback-2020-10-01.xetex.tlg |  2 +
 ...tlb-latexrelease-rollback-2021-06-01.luatex.tlg |  2 +
 .../tlb-latexrelease-rollback-2021-06-01.tlg       |  2 +
 .../tlb-latexrelease-rollback-2021-06-01.xetex.tlg |  2 +
 ...tlb-latexrelease-rollback-2021-11-15.luatex.tlg |  2 +
 .../tlb-latexrelease-rollback-2021-11-15.tlg       |  2 +
 .../tlb-latexrelease-rollback-2021-11-15.xetex.tlg |  2 +
 ...tlb-latexrelease-rollback-2022-06-01.luatex.tlg |  2 +
 .../tlb-latexrelease-rollback-2022-06-01.tlg       |  2 +
 .../tlb-latexrelease-rollback-2022-06-01.xetex.tlg |  2 +
 ...tlb-latexrelease-rollback-2022-11-01.luatex.tlg |  2 +
 .../tlb-latexrelease-rollback-2022-11-01.tlg       |  2 +
 .../tlb-latexrelease-rollback-2022-11-01.xetex.tlg |  2 +
 base/testfiles/tlb-rollback-004-often.luatex.tlg   |  2 +
 base/testfiles/tlb-rollback-004-often.tlg          |  2 +
 base/testfiles/tlb-rollback-004-often.xetex.tlg    |  2 +
 base/testfiles/tlb-rollback-005.luatex.tlg         |  2 +
 base/testfiles/tlb-rollback-005.tlg                |  2 +
 base/testfiles/tlb-rollback-005.xetex.tlg          |  2 +
 base/update-rollback-tests.sh                      |  3 +-
 34 files changed, 289 insertions(+), 7 deletions(-)

diff --git a/base/changes.txt b/base/changes.txt
index efa9239e..e2cddb92 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -11,6 +11,12 @@ All changes above are only part of the development branch for the next release.
 ================================================================================
 
 
+2022-11-24  Frank Mittelbach  <Frank.Mittelbach at latex-project.org>
+
+	* ltdefns.dtx (subsubsection{Copying robust commands}):
+	Added \NewEnvironmentCopy, \RenewEnvironmentCopy, and \DeclareEnvironmentCopy (gh/963)
+	Also added \ShowEnvironment.
+
 2022-11-16  Frank Mittelbach  <Frank.Mittelbach at latex-project.org>
 
 	* ltclass.dtx:
diff --git a/base/doc/ltnews37.tex b/base/doc/ltnews37.tex
index 9500ae7b..b40cee00 100644
--- a/base/doc/ltnews37.tex
+++ b/base/doc/ltnews37.tex
@@ -256,6 +256,17 @@ it is open and ready to receive material.
 %
 \githubissue{944}
 
+\subsection{Providing copy and show functions for environments}
+
+\emph{to write}
+
+Add \cs{NewEnvironmentCopy},
+\cs{RenewEnvironmentCopy}, and \cs{DeclareEnvironmentCopy}
+
+There is now \cs{ShowEnvironment}
+%
+\githubissue{963}
+
 
 
 
diff --git a/base/doc/usrguide.tex b/base/doc/usrguide.tex
index 32e12a13..aea75902 100644
--- a/base/doc/usrguide.tex
+++ b/base/doc/usrguide.tex
@@ -865,7 +865,7 @@ specification then an error is issued.
 
 
 
-\section{Copying and showing (robust) commands}
+\section{Copying and showing (robust) commands and environments}
 
 If you want to (slightly) alter an existing command you may want to
 save the current definition under a new name and then use that in a
@@ -911,9 +911,6 @@ token but need \enquote{constructing}, you can use \cs{ExpandArgs}
 as explained in
 Section~\ref{sec:preconstructing-csnames}.
 
-
-
-
 \begin{decl}
   |\ShowCommand|       \arg{cmd}
 \end{decl}
@@ -926,6 +923,26 @@ also the actual payload code and in case of commands declared with
 \cs{NewDocumentCommand}, etc.\ it also gives you detailed information
 about the argument signature.
 
+\begin{decl}
+  |\NewEnvironmentCopy|       \arg{env} \arg{existin-env} \\
+  |\RenewEnvironmentCopy|     \arg{cmd} \arg{existing-env} \\
+  |\DeclareEnvironmentCopy|   \arg{cmd} \arg{existing-env}
+\end{decl}
+
+This copies the definition for environment \meta{existing-env} to
+\meta{env} (both the beginning and end code), i.e., it is simply
+applying \cs{NewCommandCopy} twice to the internal commands that
+define an environment, i.e., \cs{}\meta{env} and \cs{end}\meta{env}.
+The differences between \cs{New...}, \cs{Renew...}, and
+\cs{Declare...} are the usual ones.
+
+\begin{decl}
+  |\ShowEnvironment|       \arg{env}
+\end{decl}
+This displays the meaning of the begin end end code for environment \meta{env}.
+
+
+
 
 \section[Preconstructing command names \\ (or otherwise expanding arguments)]
         {Preconstructing command names (or otherwise expanding arguments)}
diff --git a/base/ltdefns.dtx b/base/ltdefns.dtx
index bd820e7c..d989e516 100644
--- a/base/ltdefns.dtx
+++ b/base/ltdefns.dtx
@@ -32,7 +32,7 @@
 %<*driver>
 % \fi
 \ProvidesFile{ltdefns.dtx}
-             [2022/05/22 v1.5r LaTeX Kernel (definition commands)]
+             [2022/11/24 v1.5s LaTeX Kernel (definition commands)]
 % \iffalse
 \documentclass{ltxdoc}
 \GetFileInfo{ltdefns.dtx}
@@ -784,7 +784,9 @@
 %    not take arguments. (but may contain |\par|s)
 %
 % Make sure that an attempt to define a `graf' or `group' environment
-% fails.
+% fails by temporaily letting the undefined \verb=\...= (begin code) to
+% the definition of \verb=\end...= and as a result we get an error if that
+% has a definition.
 %    \begin{macrocode}
 \long\def\@newenv#1#2#3#4{%
   \@ifundefined{#1}%
@@ -1694,6 +1696,78 @@
 % \end{macro}
 %
 %
+%    \begin{macrocode}
+%</2ekernel>
+%<latexrelease>\IncludeInRelease{2023-06-01}{\DeclareEnvironmentCopy}
+%<latexrelease>  {Add \NewEnvironmentCopy, \RenewEnvironmentCopy, and \DeclareEnvironmentCopy}%
+%<*2ekernel|latexrelease>
+%    \end{macrocode}
+%
+% \begin{macro}{\NewEnvironmentCopy}
+% \begin{macro}{\RenewEnvironmentCopy}
+% \begin{macro}{\DeclareEnvironmentCopy}
+%    If \verb=\#1= or \verb=\end#1= already exist one gets an error
+%    message talking about the problematical command (not the
+%    environment).
+%    The remainder of the \LaTeX{} run is probably badly
+%    broken and it is unlikely that continuing it gives
+%    reasonable results.
+% \changes{v1.5s}{2022/11/24}{Add \cs{NewEnvironmentCopy},
+%            \cs{RenewEnvironmentCopy}, and \cs{DeclareEnvironmentCopy} (gh/963)}
+%    \begin{macrocode}
+\def\NewEnvironmentCopy#1#2{%
+  \ExpandArgs{cc}\NewCommandCopy{#1}{#2}%
+  \ExpandArgs{cc}\NewCommandCopy{end#1}{end#2}%
+}
+%    \end{macrocode}
+%
+%    \begin{macrocode}
+\def\RenewEnvironmentCopy#1#2{%
+  \ExpandArgs{cc}\RenewCommandCopy{#1}{#2}%
+  \ExpandArgs{cc}\RenewCommandCopy{end#1}{end#2}%
+}
+\def\DeclareEnvironmentCopy#1#2{%
+  \ExpandArgs{cc}\DeclareCommandCopy{#1}{#2}%
+  \ExpandArgs{cc}\DeclareCommandCopy{end#1}{end#2}%
+}
+%    \end{macrocode}
+%    \emph{this needs fixing because \cs{ShowCommand} already shows
+%    the env definition if defined by \cs{NewDocumentEnvironment} so
+%    we get it twice (but not if 2e envs are used)}
+% \changes{v1.5s}{2022/11/24}{Add \cs{ShowEnvironment}}
+%    \begin{macrocode}
+\def\ShowEnvironment#1{%
+  \typeout{Begin code for environment #1:}%
+  \nonstopmode
+  \ExpandArgs{c}\ShowCommand{#1}%
+  \errorstopmode
+  \typeout{End code for environment #1:^^J}%
+  \ExpandArgs{c}\ShowCommand{end#1}%
+}
+%    \end{macrocode}
+%
+%   Now the rollback code.
+%    \begin{macrocode}
+%</2ekernel|latexrelease>
+%<latexrelease>\EndIncludeInRelease
+%<latexrelease>\IncludeInRelease{0000-00-00}{\DeclareEnvironmentCopy}
+%<latexrelease>  {Undefine \NewEnvironmentCopy, \RenewEnvironmentCopy, and \DeclareEnvironmentCopy}%
+%<latexrelease>\let\NewEnvironmentCopy\@undefined
+%<latexrelease>\let\RenewEnvironmentCopy\@undefined
+%<latexrelease>\let\DeclareEnvironmentCopy\@undefined
+%<latexrelease>\let\ShowEnvironment\@undefined
+%<latexrelease>\EndIncludeInRelease
+%<*2ekernel>
+%    \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+%
+%
+%
+%
+%
 % \subsubsection{Showing robust commands}
 %
 % \begin{macro}{\ShowCommand}
diff --git a/base/testfiles-ltcmd/github-0963.lvt b/base/testfiles-ltcmd/github-0963.lvt
new file mode 100644
index 00000000..9f49852b
--- /dev/null
+++ b/base/testfiles-ltcmd/github-0963.lvt
@@ -0,0 +1,36 @@
+\input{test2e}
+
+\let\errorstopmode\nonstopmode   % because that is explicitly used in \ShowEnvironment
+                                 % and we dont# want to stop in the tests
+
+\START
+
+\newenvironment{foo}{\typeout{start foo}}{\typeout{end foo}}
+
+\NewEnvironmentCopy{baz}{foo}
+
+\begin{baz} \typeout{in baz} \end{baz}
+
+% try again (should not work)
+
+\NewEnvironmentCopy{baz}{foo}
+
+\begin{baz} \typeout{in baz} \end{baz}
+
+\RenewDocumentEnvironment{foo}{}{\typeout{start foo2}}{\typeout{end foo2}}
+
+\RenewEnvironmentCopy{baz}{foo}
+
+\begin{baz} \typeout{in baz} \end{baz}
+
+% ouch
+
+\NewEnvironmentCopy{group}{foo}
+
+\ShowCommand\group
+\ShowCommand\endgroup
+
+\ShowEnvironment{foo}
+\ShowEnvironment{center}
+
+\END
diff --git a/base/testfiles-ltcmd/github-0963.tlg b/base/testfiles-ltcmd/github-0963.tlg
new file mode 100644
index 00000000..21f51ec7
--- /dev/null
+++ b/base/testfiles-ltcmd/github-0963.tlg
@@ -0,0 +1,77 @@
+This is a generated file for the LaTeX2e validation system.
+Don't change this file in any respect.
+start foo
+in baz
+end foo
+! LaTeX Error: Command \baz already defined.
+               Or name \end... illegal, see p.192 of the manual.
+See the LaTeX manual or LaTeX Companion for explanation.
+Type  H <return>  for immediate help.
+ ...                                              
+l. ...\NewEnvironmentCopy{baz}{foo}
+Your command was ignored.
+Type  I <command> <return>  to replace it with another command,
+or  <return>  to continue without it.
+! LaTeX Error: Command \endbaz already defined.
+               Or name \end... illegal, see p.192 of the manual.
+See the LaTeX manual or LaTeX Companion for explanation.
+Type  H <return>  for immediate help.
+ ...                                              
+l. ...\NewEnvironmentCopy{baz}{foo}
+Your command was ignored.
+Type  I <command> <return>  to replace it with another command,
+or  <return>  to continue without it.
+start foo
+in baz
+end foo
+start foo2
+in baz
+end foo2
+! LaTeX Error: Command \endgroup already defined.
+               Or name \end... illegal, see p.192 of the manual.
+See the LaTeX manual or LaTeX Companion for explanation.
+Type  H <return>  for immediate help.
+ ...                                              
+l. ...\NewEnvironmentCopy{group}{foo}
+Your command was ignored.
+Type  I <command> <return>  to replace it with another command,
+or  <return>  to continue without it.
+> \begin{group}=document environment:
+->\typeout {start foo2}.
+<recently read> }
+l. ...\ShowCommand\group
+> \end{group}:
+->\scan_stop: .
+<recently read> }
+l. ...\ShowCommand\group
+> \endgroup=\endgroup.
+<argument> \endgroup 
+l. ...\ShowCommand\endgroup
+Begin code for environment foo:
+> \begin{foo}=document environment:
+->\typeout {start foo2}.
+<recently read> }
+l. ...\ShowEnvironment{foo}
+> \end{foo}:
+->\typeout {end foo2}.
+<recently read> }
+l. ...\ShowEnvironment{foo}
+End code for environment foo:
+> \begin{foo}=document environment:
+->\typeout {start foo2}.
+<recently read> }
+l. ...\ShowEnvironment{foo}
+> \end{foo}:
+->\typeout {end foo2}.
+<recently read> }
+l. ...\ShowEnvironment{foo}
+Begin code for environment center:
+> \center=macro:
+->\trivlist \centering \item \relax .
+<argument> \center 
+l. ...\ShowEnvironment{center}
+End code for environment center:
+> \endcenter=macro:
+->\endtrivlist .
+<argument> \endcenter 
+l. ...\ShowEnvironment{center}
diff --git a/base/testfiles/github-0479-often.luatex.tlg b/base/testfiles/github-0479-often.luatex.tlg
index b1235c39..ed5d3073 100644
--- a/base/testfiles/github-0479-often.luatex.tlg
+++ b/base/testfiles/github-0479-often.luatex.tlg
@@ -73,6 +73,8 @@ Applying: [....-..-..] Add \robust at command@act  on input line ....
 Already applied: [....-..-..] Add \robust at command@act  on input line ....
 Applying: [....-..-..] Add \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
 Already applied: [....-..-..] Undefine \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
+Skipping: [....-..-..] Add \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
+Applying: [....-..-..] Undefine \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
 Applying: [....-..-..] Add \ShowCommand  on input line ....
 Already applied: [....-..-..] Undefine \ShowCommand  on input line ....
 Applying: [....-..-..] Add \@if at DeclareRobustCommand , \@if at newcommand , \@copy at DeclareRobustCommand , \@copy at newcommand , \@show at DeclareRobustCommand , \@show at newcommand  on input line ....
diff --git a/base/testfiles/github-0479-often.tlg b/base/testfiles/github-0479-often.tlg
index 15b64686..3880c4b1 100644
--- a/base/testfiles/github-0479-often.tlg
+++ b/base/testfiles/github-0479-often.tlg
@@ -62,6 +62,8 @@ Applying: [....-..-..] Add \robust at command@act  on input line ....
 Already applied: [....-..-..] Add \robust at command@act  on input line ....
 Applying: [....-..-..] Add \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
 Already applied: [....-..-..] Undefine \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
+Skipping: [....-..-..] Add \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
+Applying: [....-..-..] Undefine \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
 Applying: [....-..-..] Add \ShowCommand  on input line ....
 Already applied: [....-..-..] Undefine \ShowCommand  on input line ....
 Applying: [....-..-..] Add \@if at DeclareRobustCommand , \@if at newcommand , \@copy at DeclareRobustCommand , \@copy at newcommand , \@show at DeclareRobustCommand , \@show at newcommand  on input line ....
diff --git a/base/testfiles/github-0479-often.xetex.tlg b/base/testfiles/github-0479-often.xetex.tlg
index 30be0d17..ce0bea9a 100644
--- a/base/testfiles/github-0479-often.xetex.tlg
+++ b/base/testfiles/github-0479-often.xetex.tlg
@@ -62,6 +62,8 @@ Applying: [....-..-..] Add \robust at command@act  on input line ....
 Already applied: [....-..-..] Add \robust at command@act  on input line ....
 Applying: [....-..-..] Add \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
 Already applied: [....-..-..] Undefine \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
+Skipping: [....-..-..] Add \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
+Applying: [....-..-..] Undefine \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
 Applying: [....-..-..] Add \ShowCommand  on input line ....
 Already applied: [....-..-..] Undefine \ShowCommand  on input line ....
 Applying: [....-..-..] Add \@if at DeclareRobustCommand , \@if at newcommand , \@copy at DeclareRobustCommand , \@copy at newcommand , \@show at DeclareRobustCommand , \@show at newcommand  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-003-often.luatex.tlg b/base/testfiles/tlb-latexrelease-rollback-003-often.luatex.tlg
index fe89e1d2..a954c2d2 100644
--- a/base/testfiles/tlb-latexrelease-rollback-003-often.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-003-often.luatex.tlg
@@ -70,6 +70,8 @@ Skipping: [....-..-..] Add \robust at command@act  on input line ....
 Applying: [....-..-..] Add \robust at command@act  on input line ....
 Skipping: [....-..-..] Add \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
 Applying: [....-..-..] Undefine \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
+Skipping: [....-..-..] Add \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
+Applying: [....-..-..] Undefine \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
 Skipping: [....-..-..] Add \ShowCommand  on input line ....
 Applying: [....-..-..] Undefine \ShowCommand  on input line ....
 Skipping: [....-..-..] Add \@if at DeclareRobustCommand , \@if at newcommand , \@copy at DeclareRobustCommand , \@copy at newcommand , \@show at DeclareRobustCommand , \@show at newcommand  on input line ....
@@ -698,6 +700,8 @@ Skipping: [....-..-..] Add \robust at command@act  on input line ....
 Applying: [....-..-..] Add \robust at command@act  on input line ....
 Skipping: [....-..-..] Add \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
 Applying: [....-..-..] Undefine \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
+Skipping: [....-..-..] Add \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
+Applying: [....-..-..] Undefine \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
 Skipping: [....-..-..] Add \ShowCommand  on input line ....
 Applying: [....-..-..] Undefine \ShowCommand  on input line ....
 Skipping: [....-..-..] Add \@if at DeclareRobustCommand , \@if at newcommand , \@copy at DeclareRobustCommand , \@copy at newcommand , \@show at DeclareRobustCommand , \@show at newcommand  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-003-often.tlg b/base/testfiles/tlb-latexrelease-rollback-003-often.tlg
index a145548d..bd12ab59 100644
--- a/base/testfiles/tlb-latexrelease-rollback-003-often.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-003-often.tlg
@@ -64,6 +64,8 @@ Skipping: [....-..-..] Add \robust at command@act  on input line ....
 Applying: [....-..-..] Add \robust at command@act  on input line ....
 Skipping: [....-..-..] Add \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
 Applying: [....-..-..] Undefine \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
+Skipping: [....-..-..] Add \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
+Applying: [....-..-..] Undefine \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
 Skipping: [....-..-..] Add \ShowCommand  on input line ....
 Applying: [....-..-..] Undefine \ShowCommand  on input line ....
 Skipping: [....-..-..] Add \@if at DeclareRobustCommand , \@if at newcommand , \@copy at DeclareRobustCommand , \@copy at newcommand , \@show at DeclareRobustCommand , \@show at newcommand  on input line ....
@@ -682,6 +684,8 @@ Skipping: [....-..-..] Add \robust at command@act  on input line ....
 Applying: [....-..-..] Add \robust at command@act  on input line ....
 Skipping: [....-..-..] Add \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
 Applying: [....-..-..] Undefine \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
+Skipping: [....-..-..] Add \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
+Applying: [....-..-..] Undefine \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
 Skipping: [....-..-..] Add \ShowCommand  on input line ....
 Applying: [....-..-..] Undefine \ShowCommand  on input line ....
 Skipping: [....-..-..] Add \@if at DeclareRobustCommand , \@if at newcommand , \@copy at DeclareRobustCommand , \@copy at newcommand , \@show at DeclareRobustCommand , \@show at newcommand  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-003-often.xetex.tlg b/base/testfiles/tlb-latexrelease-rollback-003-often.xetex.tlg
index 02134489..53260ca0 100644
--- a/base/testfiles/tlb-latexrelease-rollback-003-often.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-003-often.xetex.tlg
@@ -64,6 +64,8 @@ Skipping: [....-..-..] Add \robust at command@act  on input line ....
 Applying: [....-..-..] Add \robust at command@act  on input line ....
 Skipping: [....-..-..] Add \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
 Applying: [....-..-..] Undefine \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
+Skipping: [....-..-..] Add \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
+Applying: [....-..-..] Undefine \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
 Skipping: [....-..-..] Add \ShowCommand  on input line ....
 Applying: [....-..-..] Undefine \ShowCommand  on input line ....
 Skipping: [....-..-..] Add \@if at DeclareRobustCommand , \@if at newcommand , \@copy at DeclareRobustCommand , \@copy at newcommand , \@show at DeclareRobustCommand , \@show at newcommand  on input line ....
@@ -691,6 +693,8 @@ Skipping: [....-..-..] Add \robust at command@act  on input line ....
 Applying: [....-..-..] Add \robust at command@act  on input line ....
 Skipping: [....-..-..] Add \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
 Applying: [....-..-..] Undefine \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
+Skipping: [....-..-..] Add \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
+Applying: [....-..-..] Undefine \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
 Skipping: [....-..-..] Add \ShowCommand  on input line ....
 Applying: [....-..-..] Undefine \ShowCommand  on input line ....
 Skipping: [....-..-..] Add \@if at DeclareRobustCommand , \@if at newcommand , \@copy at DeclareRobustCommand , \@copy at newcommand , \@show at DeclareRobustCommand , \@show at newcommand  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2020-10-01.luatex.tlg b/base/testfiles/tlb-latexrelease-rollback-2020-10-01.luatex.tlg
index cfc8506c..5baf1a4c 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2020-10-01.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2020-10-01.luatex.tlg
@@ -73,6 +73,8 @@ Applying: [....-..-..] Add \robust at command@act  on input line ....
 Already applied: [....-..-..] Add \robust at command@act  on input line ....
 Applying: [....-..-..] Add \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
 Already applied: [....-..-..] Undefine \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
+Skipping: [....-..-..] Add \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
+Applying: [....-..-..] Undefine \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
 Applying: [....-..-..] Add \ShowCommand  on input line ....
 Already applied: [....-..-..] Undefine \ShowCommand  on input line ....
 Applying: [....-..-..] Add \@if at DeclareRobustCommand , \@if at newcommand , \@copy at DeclareRobustCommand , \@copy at newcommand , \@show at DeclareRobustCommand , \@show at newcommand  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2020-10-01.tlg b/base/testfiles/tlb-latexrelease-rollback-2020-10-01.tlg
index 5394ea71..792a7793 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2020-10-01.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2020-10-01.tlg
@@ -62,6 +62,8 @@ Applying: [....-..-..] Add \robust at command@act  on input line ....
 Already applied: [....-..-..] Add \robust at command@act  on input line ....
 Applying: [....-..-..] Add \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
 Already applied: [....-..-..] Undefine \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
+Skipping: [....-..-..] Add \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
+Applying: [....-..-..] Undefine \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
 Applying: [....-..-..] Add \ShowCommand  on input line ....
 Already applied: [....-..-..] Undefine \ShowCommand  on input line ....
 Applying: [....-..-..] Add \@if at DeclareRobustCommand , \@if at newcommand , \@copy at DeclareRobustCommand , \@copy at newcommand , \@show at DeclareRobustCommand , \@show at newcommand  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2020-10-01.xetex.tlg b/base/testfiles/tlb-latexrelease-rollback-2020-10-01.xetex.tlg
index 979bb1ce..29c9385d 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2020-10-01.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2020-10-01.xetex.tlg
@@ -62,6 +62,8 @@ Applying: [....-..-..] Add \robust at command@act  on input line ....
 Already applied: [....-..-..] Add \robust at command@act  on input line ....
 Applying: [....-..-..] Add \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
 Already applied: [....-..-..] Undefine \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
+Skipping: [....-..-..] Add \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
+Applying: [....-..-..] Undefine \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
 Applying: [....-..-..] Add \ShowCommand  on input line ....
 Already applied: [....-..-..] Undefine \ShowCommand  on input line ....
 Applying: [....-..-..] Add \@if at DeclareRobustCommand , \@if at newcommand , \@copy at DeclareRobustCommand , \@copy at newcommand , \@show at DeclareRobustCommand , \@show at newcommand  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2021-06-01.luatex.tlg b/base/testfiles/tlb-latexrelease-rollback-2021-06-01.luatex.tlg
index 4db30665..6500cd36 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2021-06-01.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2021-06-01.luatex.tlg
@@ -74,6 +74,8 @@ Applying: [....-..-..] Add \robust at command@act  on input line ....
 Already applied: [....-..-..] Add \robust at command@act  on input line ....
 Applying: [....-..-..] Add \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
 Already applied: [....-..-..] Undefine \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
+Skipping: [....-..-..] Add \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
+Applying: [....-..-..] Undefine \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
 Applying: [....-..-..] Add \ShowCommand  on input line ....
 Already applied: [....-..-..] Undefine \ShowCommand  on input line ....
 Applying: [....-..-..] Add \@if at DeclareRobustCommand , \@if at newcommand , \@copy at DeclareRobustCommand , \@copy at newcommand , \@show at DeclareRobustCommand , \@show at newcommand  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2021-06-01.tlg b/base/testfiles/tlb-latexrelease-rollback-2021-06-01.tlg
index 4c9f8c2e..eca336ff 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2021-06-01.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2021-06-01.tlg
@@ -62,6 +62,8 @@ Applying: [....-..-..] Add \robust at command@act  on input line ....
 Already applied: [....-..-..] Add \robust at command@act  on input line ....
 Applying: [....-..-..] Add \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
 Already applied: [....-..-..] Undefine \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
+Skipping: [....-..-..] Add \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
+Applying: [....-..-..] Undefine \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
 Applying: [....-..-..] Add \ShowCommand  on input line ....
 Already applied: [....-..-..] Undefine \ShowCommand  on input line ....
 Applying: [....-..-..] Add \@if at DeclareRobustCommand , \@if at newcommand , \@copy at DeclareRobustCommand , \@copy at newcommand , \@show at DeclareRobustCommand , \@show at newcommand  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2021-06-01.xetex.tlg b/base/testfiles/tlb-latexrelease-rollback-2021-06-01.xetex.tlg
index b9325f37..bfd9fa96 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2021-06-01.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2021-06-01.xetex.tlg
@@ -62,6 +62,8 @@ Applying: [....-..-..] Add \robust at command@act  on input line ....
 Already applied: [....-..-..] Add \robust at command@act  on input line ....
 Applying: [....-..-..] Add \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
 Already applied: [....-..-..] Undefine \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
+Skipping: [....-..-..] Add \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
+Applying: [....-..-..] Undefine \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
 Applying: [....-..-..] Add \ShowCommand  on input line ....
 Already applied: [....-..-..] Undefine \ShowCommand  on input line ....
 Applying: [....-..-..] Add \@if at DeclareRobustCommand , \@if at newcommand , \@copy at DeclareRobustCommand , \@copy at newcommand , \@show at DeclareRobustCommand , \@show at newcommand  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2021-11-15.luatex.tlg b/base/testfiles/tlb-latexrelease-rollback-2021-11-15.luatex.tlg
index 4c448755..0bbcf38b 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2021-11-15.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2021-11-15.luatex.tlg
@@ -74,6 +74,8 @@ Applying: [....-..-..] Add \robust at command@act  on input line ....
 Already applied: [....-..-..] Add \robust at command@act  on input line ....
 Applying: [....-..-..] Add \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
 Already applied: [....-..-..] Undefine \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
+Skipping: [....-..-..] Add \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
+Applying: [....-..-..] Undefine \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
 Applying: [....-..-..] Add \ShowCommand  on input line ....
 Already applied: [....-..-..] Undefine \ShowCommand  on input line ....
 Applying: [....-..-..] Add \@if at DeclareRobustCommand , \@if at newcommand , \@copy at DeclareRobustCommand , \@copy at newcommand , \@show at DeclareRobustCommand , \@show at newcommand  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2021-11-15.tlg b/base/testfiles/tlb-latexrelease-rollback-2021-11-15.tlg
index 334e5fd7..d9fe78ed 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2021-11-15.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2021-11-15.tlg
@@ -62,6 +62,8 @@ Applying: [....-..-..] Add \robust at command@act  on input line ....
 Already applied: [....-..-..] Add \robust at command@act  on input line ....
 Applying: [....-..-..] Add \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
 Already applied: [....-..-..] Undefine \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
+Skipping: [....-..-..] Add \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
+Applying: [....-..-..] Undefine \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
 Applying: [....-..-..] Add \ShowCommand  on input line ....
 Already applied: [....-..-..] Undefine \ShowCommand  on input line ....
 Applying: [....-..-..] Add \@if at DeclareRobustCommand , \@if at newcommand , \@copy at DeclareRobustCommand , \@copy at newcommand , \@show at DeclareRobustCommand , \@show at newcommand  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2021-11-15.xetex.tlg b/base/testfiles/tlb-latexrelease-rollback-2021-11-15.xetex.tlg
index 48283627..e928ca3b 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2021-11-15.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2021-11-15.xetex.tlg
@@ -62,6 +62,8 @@ Applying: [....-..-..] Add \robust at command@act  on input line ....
 Already applied: [....-..-..] Add \robust at command@act  on input line ....
 Applying: [....-..-..] Add \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
 Already applied: [....-..-..] Undefine \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
+Skipping: [....-..-..] Add \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
+Applying: [....-..-..] Undefine \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
 Applying: [....-..-..] Add \ShowCommand  on input line ....
 Already applied: [....-..-..] Undefine \ShowCommand  on input line ....
 Applying: [....-..-..] Add \@if at DeclareRobustCommand , \@if at newcommand , \@copy at DeclareRobustCommand , \@copy at newcommand , \@show at DeclareRobustCommand , \@show at newcommand  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2022-06-01.luatex.tlg b/base/testfiles/tlb-latexrelease-rollback-2022-06-01.luatex.tlg
index 7e0295c3..6fd47565 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2022-06-01.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2022-06-01.luatex.tlg
@@ -74,6 +74,8 @@ Applying: [....-..-..] Add \robust at command@act  on input line ....
 Already applied: [....-..-..] Add \robust at command@act  on input line ....
 Applying: [....-..-..] Add \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
 Already applied: [....-..-..] Undefine \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
+Skipping: [....-..-..] Add \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
+Applying: [....-..-..] Undefine \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
 Applying: [....-..-..] Add \ShowCommand  on input line ....
 Already applied: [....-..-..] Undefine \ShowCommand  on input line ....
 Applying: [....-..-..] Add \@if at DeclareRobustCommand , \@if at newcommand , \@copy at DeclareRobustCommand , \@copy at newcommand , \@show at DeclareRobustCommand , \@show at newcommand  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2022-06-01.tlg b/base/testfiles/tlb-latexrelease-rollback-2022-06-01.tlg
index 72c9e78d..de04adfe 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2022-06-01.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2022-06-01.tlg
@@ -62,6 +62,8 @@ Applying: [....-..-..] Add \robust at command@act  on input line ....
 Already applied: [....-..-..] Add \robust at command@act  on input line ....
 Applying: [....-..-..] Add \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
 Already applied: [....-..-..] Undefine \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
+Skipping: [....-..-..] Add \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
+Applying: [....-..-..] Undefine \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
 Applying: [....-..-..] Add \ShowCommand  on input line ....
 Already applied: [....-..-..] Undefine \ShowCommand  on input line ....
 Applying: [....-..-..] Add \@if at DeclareRobustCommand , \@if at newcommand , \@copy at DeclareRobustCommand , \@copy at newcommand , \@show at DeclareRobustCommand , \@show at newcommand  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2022-06-01.xetex.tlg b/base/testfiles/tlb-latexrelease-rollback-2022-06-01.xetex.tlg
index 93af95f8..a9e7d554 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2022-06-01.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2022-06-01.xetex.tlg
@@ -62,6 +62,8 @@ Applying: [....-..-..] Add \robust at command@act  on input line ....
 Already applied: [....-..-..] Add \robust at command@act  on input line ....
 Applying: [....-..-..] Add \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
 Already applied: [....-..-..] Undefine \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
+Skipping: [....-..-..] Add \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
+Applying: [....-..-..] Undefine \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
 Applying: [....-..-..] Add \ShowCommand  on input line ....
 Already applied: [....-..-..] Undefine \ShowCommand  on input line ....
 Applying: [....-..-..] Add \@if at DeclareRobustCommand , \@if at newcommand , \@copy at DeclareRobustCommand , \@copy at newcommand , \@show at DeclareRobustCommand , \@show at newcommand  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2022-11-01.luatex.tlg b/base/testfiles/tlb-latexrelease-rollback-2022-11-01.luatex.tlg
index 595b9963..c58ce9e0 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2022-11-01.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2022-11-01.luatex.tlg
@@ -74,6 +74,8 @@ Applying: [....-..-..] Add \robust at command@act  on input line ....
 Already applied: [....-..-..] Add \robust at command@act  on input line ....
 Applying: [....-..-..] Add \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
 Already applied: [....-..-..] Undefine \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
+Skipping: [....-..-..] Add \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
+Applying: [....-..-..] Undefine \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
 Applying: [....-..-..] Add \ShowCommand  on input line ....
 Already applied: [....-..-..] Undefine \ShowCommand  on input line ....
 Applying: [....-..-..] Add \@if at DeclareRobustCommand , \@if at newcommand , \@copy at DeclareRobustCommand , \@copy at newcommand , \@show at DeclareRobustCommand , \@show at newcommand  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2022-11-01.tlg b/base/testfiles/tlb-latexrelease-rollback-2022-11-01.tlg
index 62f38201..0ca0e85e 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2022-11-01.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2022-11-01.tlg
@@ -62,6 +62,8 @@ Applying: [....-..-..] Add \robust at command@act  on input line ....
 Already applied: [....-..-..] Add \robust at command@act  on input line ....
 Applying: [....-..-..] Add \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
 Already applied: [....-..-..] Undefine \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
+Skipping: [....-..-..] Add \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
+Applying: [....-..-..] Undefine \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
 Applying: [....-..-..] Add \ShowCommand  on input line ....
 Already applied: [....-..-..] Undefine \ShowCommand  on input line ....
 Applying: [....-..-..] Add \@if at DeclareRobustCommand , \@if at newcommand , \@copy at DeclareRobustCommand , \@copy at newcommand , \@show at DeclareRobustCommand , \@show at newcommand  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2022-11-01.xetex.tlg b/base/testfiles/tlb-latexrelease-rollback-2022-11-01.xetex.tlg
index 58a4d1cb..64c02269 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2022-11-01.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2022-11-01.xetex.tlg
@@ -62,6 +62,8 @@ Applying: [....-..-..] Add \robust at command@act  on input line ....
 Already applied: [....-..-..] Add \robust at command@act  on input line ....
 Applying: [....-..-..] Add \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
 Already applied: [....-..-..] Undefine \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
+Skipping: [....-..-..] Add \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
+Applying: [....-..-..] Undefine \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
 Applying: [....-..-..] Add \ShowCommand  on input line ....
 Already applied: [....-..-..] Undefine \ShowCommand  on input line ....
 Applying: [....-..-..] Add \@if at DeclareRobustCommand , \@if at newcommand , \@copy at DeclareRobustCommand , \@copy at newcommand , \@show at DeclareRobustCommand , \@show at newcommand  on input line ....
diff --git a/base/testfiles/tlb-rollback-004-often.luatex.tlg b/base/testfiles/tlb-rollback-004-often.luatex.tlg
index 87088c59..9d95ef21 100644
--- a/base/testfiles/tlb-rollback-004-often.luatex.tlg
+++ b/base/testfiles/tlb-rollback-004-often.luatex.tlg
@@ -73,6 +73,8 @@ Skipping: [....-..-..] Add \robust at command@act  on input line ....
 Applying: [....-..-..] Add \robust at command@act  on input line ....
 Skipping: [....-..-..] Add \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
 Applying: [....-..-..] Undefine \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
+Skipping: [....-..-..] Add \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
+Applying: [....-..-..] Undefine \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
 Skipping: [....-..-..] Add \ShowCommand  on input line ....
 Applying: [....-..-..] Undefine \ShowCommand  on input line ....
 Skipping: [....-..-..] Add \@if at DeclareRobustCommand , \@if at newcommand , \@copy at DeclareRobustCommand , \@copy at newcommand , \@show at DeclareRobustCommand , \@show at newcommand  on input line ....
diff --git a/base/testfiles/tlb-rollback-004-often.tlg b/base/testfiles/tlb-rollback-004-often.tlg
index 6f2a42f6..4843990a 100644
--- a/base/testfiles/tlb-rollback-004-often.tlg
+++ b/base/testfiles/tlb-rollback-004-often.tlg
@@ -62,6 +62,8 @@ Skipping: [....-..-..] Add \robust at command@act  on input line ....
 Applying: [....-..-..] Add \robust at command@act  on input line ....
 Skipping: [....-..-..] Add \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
 Applying: [....-..-..] Undefine \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
+Skipping: [....-..-..] Add \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
+Applying: [....-..-..] Undefine \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
 Skipping: [....-..-..] Add \ShowCommand  on input line ....
 Applying: [....-..-..] Undefine \ShowCommand  on input line ....
 Skipping: [....-..-..] Add \@if at DeclareRobustCommand , \@if at newcommand , \@copy at DeclareRobustCommand , \@copy at newcommand , \@show at DeclareRobustCommand , \@show at newcommand  on input line ....
diff --git a/base/testfiles/tlb-rollback-004-often.xetex.tlg b/base/testfiles/tlb-rollback-004-often.xetex.tlg
index 43897ba7..7ff96055 100644
--- a/base/testfiles/tlb-rollback-004-often.xetex.tlg
+++ b/base/testfiles/tlb-rollback-004-often.xetex.tlg
@@ -62,6 +62,8 @@ Skipping: [....-..-..] Add \robust at command@act  on input line ....
 Applying: [....-..-..] Add \robust at command@act  on input line ....
 Skipping: [....-..-..] Add \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
 Applying: [....-..-..] Undefine \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
+Skipping: [....-..-..] Add \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
+Applying: [....-..-..] Undefine \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
 Skipping: [....-..-..] Add \ShowCommand  on input line ....
 Applying: [....-..-..] Undefine \ShowCommand  on input line ....
 Skipping: [....-..-..] Add \@if at DeclareRobustCommand , \@if at newcommand , \@copy at DeclareRobustCommand , \@copy at newcommand , \@show at DeclareRobustCommand , \@show at newcommand  on input line ....
diff --git a/base/testfiles/tlb-rollback-005.luatex.tlg b/base/testfiles/tlb-rollback-005.luatex.tlg
index 90ede40a..74be144b 100644
--- a/base/testfiles/tlb-rollback-005.luatex.tlg
+++ b/base/testfiles/tlb-rollback-005.luatex.tlg
@@ -77,6 +77,8 @@ Applying: [....-..-..] Add \robust at command@act  on input line ....
 Already applied: [....-..-..] Add \robust at command@act  on input line ....
 Applying: [....-..-..] Add \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
 Already applied: [....-..-..] Undefine \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
+Skipping: [....-..-..] Add \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
+Applying: [....-..-..] Undefine \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
 Applying: [....-..-..] Add \ShowCommand  on input line ....
 Already applied: [....-..-..] Undefine \ShowCommand  on input line ....
 Applying: [....-..-..] Add \@if at DeclareRobustCommand , \@if at newcommand , \@copy at DeclareRobustCommand , \@copy at newcommand , \@show at DeclareRobustCommand , \@show at newcommand  on input line ....
diff --git a/base/testfiles/tlb-rollback-005.tlg b/base/testfiles/tlb-rollback-005.tlg
index 203c8a5b..3473d35d 100644
--- a/base/testfiles/tlb-rollback-005.tlg
+++ b/base/testfiles/tlb-rollback-005.tlg
@@ -66,6 +66,8 @@ Applying: [....-..-..] Add \robust at command@act  on input line ....
 Already applied: [....-..-..] Add \robust at command@act  on input line ....
 Applying: [....-..-..] Add \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
 Already applied: [....-..-..] Undefine \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
+Skipping: [....-..-..] Add \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
+Applying: [....-..-..] Undefine \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
 Applying: [....-..-..] Add \ShowCommand  on input line ....
 Already applied: [....-..-..] Undefine \ShowCommand  on input line ....
 Applying: [....-..-..] Add \@if at DeclareRobustCommand , \@if at newcommand , \@copy at DeclareRobustCommand , \@copy at newcommand , \@show at DeclareRobustCommand , \@show at newcommand  on input line ....
diff --git a/base/testfiles/tlb-rollback-005.xetex.tlg b/base/testfiles/tlb-rollback-005.xetex.tlg
index e565cdc9..1784d354 100644
--- a/base/testfiles/tlb-rollback-005.xetex.tlg
+++ b/base/testfiles/tlb-rollback-005.xetex.tlg
@@ -66,6 +66,8 @@ Applying: [....-..-..] Add \robust at command@act  on input line ....
 Already applied: [....-..-..] Add \robust at command@act  on input line ....
 Applying: [....-..-..] Add \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
 Already applied: [....-..-..] Undefine \NewCommandCopy , \RenewCommandCopy , and \DeclareCommandCopy  on input line ....
+Skipping: [....-..-..] Add \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
+Applying: [....-..-..] Undefine \NewEnvironmentCopy , \RenewEnvironmentCopy , and \DeclareEnvironmentCopy  on input line ....
 Applying: [....-..-..] Add \ShowCommand  on input line ....
 Already applied: [....-..-..] Undefine \ShowCommand  on input line ....
 Applying: [....-..-..] Add \@if at DeclareRobustCommand , \@if at newcommand , \@copy at DeclareRobustCommand , \@copy at newcommand , \@show at DeclareRobustCommand , \@show at newcommand  on input line ....
diff --git a/base/update-rollback-tests.sh b/base/update-rollback-tests.sh
index d584f270..60671548 100755
--- a/base/update-rollback-tests.sh
+++ b/base/update-rollback-tests.sh
@@ -4,12 +4,13 @@ l3build save -eetex,xetex,luatex \
 	tlb-latexrelease-rollback-2021-11-15 \
 	tlb-latexrelease-rollback-2022-06-01 \
 	tlb-latexrelease-rollback-2022-11-01 \
-	tlb-latexrelease-rollback-2023-06-01 \
 	tlb-latexrelease-rollback-003-often \
 	tlb-rollback-004-often \
 	tlb-rollback-005 \
 	github-0479-often
 
+l3build save  \
+	tlb-latexrelease-rollback-2023-06-01
 
 
 exit





More information about the latex3-commits mailing list.