[latex3-commits] [git/LaTeX3-latex3-latex2e] module-arg-order: Padronize arguments of \NewModuleRelease with \IncludeInRelease (abc52ec8)
PhelypeOleinik
phelype.oleinik at latex-project.org
Sat Apr 17 03:26:58 CEST 2021
Repository : https://github.com/latex3/latex2e
On branch : module-arg-order
Link : https://github.com/latex3/latex2e/commit/abc52ec82e5e88439878d0a0caef409de5f3b429
>---------------------------------------------------------------
commit abc52ec82e5e88439878d0a0caef409de5f3b429
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date: Fri Apr 16 22:26:58 2021 -0300
Padronize arguments of \NewModuleRelease with \IncludeInRelease
>---------------------------------------------------------------
abc52ec82e5e88439878d0a0caef409de5f3b429
base/changes.txt | 6 ++++++
base/latexrelease.dtx | 8 +++++---
base/ltcmd.dtx | 11 ++++++-----
base/lthooks.dtx | 7 ++++---
base/ltpara.dtx | 7 ++++---
base/lttextcomp.dtx | 5 +++--
base/ltvers.dtx | 11 +++++++----
base/testfiles/github-0479b.lvt | 2 +-
base/testfiles/github-0479c.lvt | 2 +-
9 files changed, 37 insertions(+), 22 deletions(-)
diff --git a/base/changes.txt b/base/changes.txt
index e4b7fb56..807b81bb 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -6,6 +6,12 @@ completeness or accuracy and it contains some references to files that
are not part of the distribution.
================================================================================
+2021-04-16 Phelype Oleinik <phelype.oleinik at latex-project.org>
+
+ * latexrelease.dtx, ltcmd.dtx, lthooks.dtx, ltpara.dtx, lttextcomp.dtx, ltvers.dtx:
+ Change argument signature of \NewModuleRelease to be the same
+ as \IncludeInRelease (date, name, message).
+
2021-04-13 Frank Mittelbach <Frank.Mittelbach at latex-project.org>
* ltpara.dtx: Updated the integration of ltpara module;
diff --git a/base/latexrelease.dtx b/base/latexrelease.dtx
index 2dfb9b3d..a4603f4b 100644
--- a/base/latexrelease.dtx
+++ b/base/latexrelease.dtx
@@ -40,7 +40,7 @@
%<*latexrelease>
% \fi
% \ProvidesFile{latexrelease.dtx}
- [2021/03/18 v1.0m LaTeX release emulation and tests
+ [2021/04/16 v1.0m LaTeX release emulation and tests
(including releases up to \latexreleaseversion)]
% \iffalse
%</latexrelease>
@@ -381,7 +381,8 @@
% \pkg{latexrelease} using the commands:
% \begin{quote}
% \cs{NewModuleRelease}%^^A
-% \verb|{|\meta{name}\verb|}{|\meta{initial release date}\verb|}|\\
+% \verb|{|\meta{initial release date}%^^A
+% \verb|}{|\meta{name}\verb|}{|\meta{message}\verb|}|\\
% \null\quad\meta{module code}\\
% \cs{IncludeInRelease}%^^A
% \verb|{0000/00/00}{|\meta{name}\verb|}{|\meta{message}\verb|}|\\
@@ -420,7 +421,8 @@
% \begin{verbatim}
% %<*2ekernel|latexrelease>
% \ExplSyntaxOn
-% %<latexrelease>\NewModuleRelease{lthooks}{2020/10/01}
+% %<latexrelease>\NewModuleRelease{2020/10/01}{lthooks}%
+% %<latexrelease> {The~hook~management~system}
% \NewDocumentCommand \NewHook { m }
% { \hook_new:n {#1} }
% %<latexrelease>\IncludeInRelease{2021/06/01}{\AddToHook}{Long~argument}
diff --git a/base/ltcmd.dtx b/base/ltcmd.dtx
index 03f577d4..7ada84da 100644
--- a/base/ltcmd.dtx
+++ b/base/ltcmd.dtx
@@ -34,8 +34,8 @@
%%% From File: ltcmd.dtx
%
% \begin{macrocode}
-\def\ltcmdversion{v1.0b}
-\def\ltcmddate{2021-03-18}
+\def\ltcmdversion{v1.0c}
+\def\ltcmddate{2021-04-16}
% \end{macrocode}
%
%<*driver>
@@ -88,7 +88,8 @@
%<latexrelease>\edef\@latexrelease at catcode@null{\the\catcode`\^^@ }
%<latexrelease>\catcode`\^^@=12
\ExplSyntaxOn
-%<latexrelease>\NewModuleRelease{ltcmd}{2020/10/01}%
+%<latexrelease>\NewModuleRelease{2020/10/01}{ltcmd}
+%<latexrelease> {Document~command~parser}%
% \end{macrocode}
%
% \subsection{Variables and constants}
@@ -4007,8 +4008,8 @@
%
% \begin{macrocode}
%<latexrelease>
-%<latexrelease>\IncludeInRelease{0000/00/00}%
-%<latexrelease> {ltcmd}{Document~commands}%
+%<latexrelease>\IncludeInRelease{0000/00/00}{ltcmd}%
+%<latexrelease> {Document~command~parser}%
%<latexrelease>
%<latexrelease>\EndModuleRelease
\ExplSyntaxOff
diff --git a/base/lthooks.dtx b/base/lthooks.dtx
index 1e1d9200..42668cfb 100644
--- a/base/lthooks.dtx
+++ b/base/lthooks.dtx
@@ -31,8 +31,8 @@
%%% From File: lthooks.dtx
%
% \begin{macrocode}
-\def\lthooksversion{v1.0i}
-\def\lthooksdate{2021/03/18}
+\def\lthooksversion{v1.0j}
+\def\lthooksdate{2021/04/16}
% \end{macrocode}
%
%<*driver>
@@ -1717,7 +1717,8 @@
% \begin{macrocode}
%<*2ekernel|latexrelease>
\ExplSyntaxOn
-%<latexrelease>\NewModuleRelease{lthooks}{2020/10/01}
+%<latexrelease>\NewModuleRelease{2020/10/01}{lthooks}
+%<latexrelease> {The~hook~management~system}
% \end{macrocode}
%
% \subsection{Debugging}
diff --git a/base/ltpara.dtx b/base/ltpara.dtx
index 0c07cd35..ad503b68 100644
--- a/base/ltpara.dtx
+++ b/base/ltpara.dtx
@@ -14,8 +14,8 @@
%%% From File: ltpara.dtx
%
% \begin{macrocode}
-\def\ltparaversion{v1.0e}
-\def\ltparadate{2021/04/14}
+\def\ltparaversion{v1.0f}
+\def\ltparadate{2021/04/16}
% \end{macrocode}
%<*driver>
\documentclass{l3doc}
@@ -676,7 +676,8 @@
% \begin{macrocode}
%<*2ekernel|latexrelease>
\ExplSyntaxOn
-%<latexrelease>\NewModuleRelease{ltpara}{2021/06/01}
+%<latexrelease>\NewModuleRelease{2021/06/01}{ltpara}
+%<latexrelease> {Paragraph~handling~and~hooks}
% \end{macrocode}
%
%
diff --git a/base/lttextcomp.dtx b/base/lttextcomp.dtx
index 7cf23f26..1efc36d5 100644
--- a/base/lttextcomp.dtx
+++ b/base/lttextcomp.dtx
@@ -36,7 +36,7 @@
%
%
\ProvidesFile{lttextcomp.dtx}
- [2021/03/19 v1.0e LaTeX Kernel (text companion symbols)]
+ [2021/04/16 v1.0f LaTeX Kernel (text companion symbols)]
% \iffalse
\documentclass{ltxdoc}
\begin{document}
@@ -74,7 +74,8 @@
% {Use \cs{NewModuleRelease}}
% \begin{macrocode}
%<*2ekernel|latexrelease>
-%<latexrelease>\NewModuleRelease{lttextcomp}{2020/02/02}
+%<latexrelease>\NewModuleRelease{2020/02/02}{lttextcomp}
+%<latexrelease> {Text Companion symbols}
% \end{macrocode}
%
% \begin{macro}{\oldstylenums}
diff --git a/base/ltvers.dtx b/base/ltvers.dtx
index a9ab9377..95e94b2d 100644
--- a/base/ltvers.dtx
+++ b/base/ltvers.dtx
@@ -33,7 +33,7 @@
%<*driver>
% \fi
\ProvidesFile{ltvers.dtx}
- [2021/03/18 v1.1f LaTeX Kernel (Version Info)]
+ [2021/04/16 v1.1g LaTeX Kernel (Version Info)]
% \iffalse
\documentclass{ltxdoc}
\GetFileInfo{ltvers.dtx}
@@ -353,18 +353,21 @@
% so a more detailed cherry-picking of code chunks have to be done.
%
% \changes{v1.1f}{2021/03/18}{Added \cs{NewModuleRelease}.}
+% \changes{v1.1g}{2021/04/16}
+% {\cs{NewModuleRelease} with the same arguments as \cs{IncludeInRelease}.}
% \begin{macrocode}
\let\if at skipping@module\iffalse
\def\@skipping at moduletrue{\let\if at skipping@module\iftrue}
\def\@skipping at modulefalse{\let\if at skipping@module\iffalse}
\let\new at modulename\@empty
\let\new at moduledate\@empty
-\def\NewModuleRelease#1#2{%
+\def\NewModuleRelease#1#2#3{%
\ifx\new at modulename\@empty \else
\@latex at error{Nested \noexpand\NewModuleRelease forbidden.}\@ehd \fi
- \edef\new at modulename{#1}%
- \edef\new at moduledate{#2}%
+ \edef\new at moduledate{#1}%
+ \edef\new at modulename{#2}%
\GenericInfo{}{BEGIN module: \new at modulename\space (\new at moduledate)}%
+ \GenericInfo{}{ \@spaces\@spaces\@spaces\space#3\@gobble}%
\ifnum\sourceLaTeXdate<%
\expandafter\@parse at version\new at moduledate//00\@nil\relax
\ifnum\expandafter\@parse at version\fmtversion//00\@nil<%
diff --git a/base/testfiles/github-0479b.lvt b/base/testfiles/github-0479b.lvt
index 3d76ecb9..22162e44 100644
--- a/base/testfiles/github-0479b.lvt
+++ b/base/testfiles/github-0479b.lvt
@@ -66,7 +66,7 @@
% Extracted latexrelease.sty blocks:
\ExplSyntaxOn
-\NewModuleRelease{lttestmodule}{2020/10/01}
+\NewModuleRelease{2020/10/01}{lttestmodule}{Test~module}
% -----------------------------------------
% \cs_new:Npn \__internal_A: { original }
diff --git a/base/testfiles/github-0479c.lvt b/base/testfiles/github-0479c.lvt
index 9ebd7eb2..bb8256a0 100644
--- a/base/testfiles/github-0479c.lvt
+++ b/base/testfiles/github-0479c.lvt
@@ -60,7 +60,7 @@
% Extracted latexrelease.sty blocks:
\ExplSyntaxOn
-\NewModuleRelease{lttestmodule}{2020/10/01}
+\NewModuleRelease{2020/10/01}{lttestmodule}{Test~module}
% -----------------------------------------
% \cs_new:Npn \__internal_A: { original }
More information about the latex3-commits
mailing list.