[latex3-commits] [git/LaTeX3-latex3-latex2e] gh570: Document change (01d4c460)
Joseph Wright
joseph.wright at morningstar2.co.uk
Thu Sep 2 09:25:08 CEST 2021
Repository : https://github.com/latex3/latex2e
On branch : gh570
Link : https://github.com/latex3/latex2e/commit/01d4c460c022cc9b0967cc7314f487fdadc82f68
>---------------------------------------------------------------
commit 01d4c460c022cc9b0967cc7314f487fdadc82f68
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Thu Sep 2 08:25:08 2021 +0100
Document change
>---------------------------------------------------------------
01d4c460c022cc9b0967cc7314f487fdadc82f68
base/doc/ltnews34.tex | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/base/doc/ltnews34.tex b/base/doc/ltnews34.tex
index 3444ce49..04f0470d 100644
--- a/base/doc/ltnews34.tex
+++ b/base/doc/ltnews34.tex
@@ -376,7 +376,15 @@ also useful when interpreting the tracing output of the
\section{Code improvements}
-
+\subsection{Detect ``\cs{endfoo}'' when using \cs{NewDocumentEnvironment}}
+
+The \cs{newenvironment} command has always checked that both \cs{foo} and
+\cs{endfoo} do not exist before creating a \texttt{foo} environment. In
+contrast, \cs{NewDocumentEnvironment} has only to date checked for \cs{foo};
+this reflects the fact that historically the code was designed around the
+target of an entirely new format. The behaviour of \cs{NewDocumentEnvironment}
+now aligns with \cs{newenvironment}, except that it gives separate errors
+for the existence of \cs{foo} and \cs{endfoo}.
\subsection{Improve ``\cs{begin} ended by'' error message}
More information about the latex3-commits
mailing list.