[latex3-commits] [latex3/latex2e] develop, tlc3-errata: use \NewDocumentEnvironment in example (not a bug) (87f646c6)

github at latex-project.org github at latex-project.org
Mon Jan 29 18:37:28 CET 2024


Repository : https://github.com/latex3/latex2e
On branches: develop,tlc3-errata
Link       : https://github.com/latex3/latex2e/commit/87f646c68cafd17a48d5d360fb6359c8c7d9774f

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

commit 87f646c68cafd17a48d5d360fb6359c8c7d9774f
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Mon Jan 29 18:37:28 2024 +0100

    use \NewDocumentEnvironment in example (not a bug)


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

87f646c68cafd17a48d5d360fb6359c8c7d9774f
 base/doc/tlc3.err | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/base/doc/tlc3.err b/base/doc/tlc3.err
index e177ce1b..cb33dd01 100644
--- a/base/doc/tlc3.err
+++ b/base/doc/tlc3.err
@@ -1,4 +1,4 @@
-\newcommand\erratafiledate{2024/01/07}        % needs / and not -
+\newcommand\erratafiledate{2024/01/29}        % needs / and not -
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 % To produce a printed version of this errata file run this file through
@@ -651,6 +651,11 @@ Typo: Assembler (\u{N}otorola68k, x86masm) \> \\ Assembler (\u{M}otorola68k, x86
 %  Matlab \> Matlab \u{(empty, 5.1)}  
 % könnte auch aktualisiert werden, steht aber in Version 1.8d nicht drin
 
+\erroronpage{I-344}{exa 4-3-16}{CAR/FMi}{2024/01/29}{s}
+Use \cs{NewDocumentEnvironment} instead of
+\cs{DeclareDocumentEnvironment} because it is always better to check
+that the declaration is not accidentally overwriting an existing
+environment.
 
 \CHAPTER{Chapter 5 --- The Layout of the Page}
 





More information about the latex3-commits mailing list.