[latex3-commits] [latex3/latex2e] develop: Promote `\NewDocumentEnvironment` in lthooks (7a101173)

github at latex-project.org github at latex-project.org
Tue Nov 28 22:37:26 CET 2023


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/7a1011738a29407253480143fa2756f4f5e27ec2

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

commit 7a1011738a29407253480143fa2756f4f5e27ec2
Author: Yukai Chou <muzimuzhi at gmail.com>
Date:   Wed Nov 1 09:19:26 2023 +0800

    Promote `\NewDocumentEnvironment` in lthooks


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

7a1011738a29407253480143fa2756f4f5e27ec2
 base/lthooks.dtx | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/base/lthooks.dtx b/base/lthooks.dtx
index 20d48730..d7030482 100644
--- a/base/lthooks.dtx
+++ b/base/lthooks.dtx
@@ -32,7 +32,7 @@
 %
 %    \begin{macrocode}
 \def\lthooksversion{v1.1f}
-\def\lthooksdate{2023/10/02}
+\def\lthooksdate{2023/11/28}
 %    \end{macrocode}
 %
 %<*driver>
@@ -1862,15 +1862,17 @@
 %    \item[\hook{env/\meta{env}/begin}]
 %
 %       This hook is executed as part of \cs{begin} directly in front
-%       of the code specific to the environment start (e.g., the
-%       second argument of \cs{newenvironment}).  Its scope is the
-%       environment body.
+%       of the code specific to the environment start (e.g.,
+%       the third argument of \cs{NewDocumentEnvironment} and
+%       the second argument of \cs{newenvironment}).
+%       Its scope is the environment body.
 %
 %    \item[\hook{env/\meta{env}/end}]
 %
 %       This hook is executed as part of \cs{end} directly in front of the
-%       code specific to the end of the environment (e.g., the third
-%       argument of \cs{newenvironment}).
+%       code specific to the end of the environment (e.g.,
+%       the forth argument of \cs{NewDocumentEnvironment} and
+%       the third argument of \cs{newenvironment}).
 %
 %    \item[\hook{env/\meta{env}/after}]
 %





More information about the latex3-commits mailing list.