[latex3-commits] [git/LaTeX3-latex3-latex2e] gh479: Skip when rolling between dates older than the module (25f9e4c6)

PhelypeOleinik phelype.oleinik at latex-project.org
Thu Mar 18 16:00:40 CET 2021


Repository : https://github.com/latex3/latex2e
On branch  : gh479
Link       : https://github.com/latex3/latex2e/commit/25f9e4c68f1e556e9cf444ce8aaca3bb6702b5ca

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

commit 25f9e4c68f1e556e9cf444ce8aaca3bb6702b5ca
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date:   Thu Mar 18 12:00:40 2021 -0300

    Skip when rolling between dates older than the module


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

25f9e4c68f1e556e9cf444ce8aaca3bb6702b5ca
 base/ltvers.dtx                 | 11 +++++++++--
 base/testfiles/github-0479c.tlg | 29 ++++++++---------------------
 2 files changed, 17 insertions(+), 23 deletions(-)

diff --git a/base/ltvers.dtx b/base/ltvers.dtx
index 5724d9f6..176e2138 100644
--- a/base/ltvers.dtx
+++ b/base/ltvers.dtx
@@ -378,8 +378,15 @@
   \GenericInfo{}{BEGIN module: \new at modulename\space (\new at moduledate)}%
   \ifnum\sourceLaTeXdate<%
       \expandafter\@parse at version\new at moduledate//00\@nil\relax
-    \GenericInfo{}{Applying module \new at modulename}
-    \@skipping at modulefalse
+    \ifnum\expandafter\@parse at version\fmtversion//00\@nil<%
+          \expandafter\@parse at version\new at moduledate//00\@nil\relax
+      \GenericInfo{}{Skipping module \new at modulename}%
+      \expandafter\expandafter
+      \expandafter\gobble at finish@module at release
+    \else
+      \GenericInfo{}{Applying module \new at modulename}
+      \@skipping at modulefalse
+    \fi
   \else
     \GenericInfo{}{Skipping module \new at modulename}
     \@skipping at moduletrue
diff --git a/base/testfiles/github-0479c.tlg b/base/testfiles/github-0479c.tlg
index f3667373..e8dee306 100644
--- a/base/testfiles/github-0479c.tlg
+++ b/base/testfiles/github-0479c.tlg
@@ -129,34 +129,21 @@ LaTeX Warning: You have requested package `test-latexrelease',
                but the package provides `latexrelease'.
 Package: latexrelease ....-..-.. v... LaTeX release emulation and tests (including releases up to ....-..-..)
 BEGIN module: lttestmodule (....-..-..) on input line ....
-Applying module lttestmodule on input line ....
-Skipping: [....-..-..] change \__internal_A:  on input line ....
-Skipping: [....-..-..] change \__internal_A:  on input line ....
-Skipping: [....-..-..] change \__internal_A:  on input line ....
-Skipping: [....-..-..] change \B  on input line ....
-Skipping: [....-..-..] change \B  on input line ....
-Skipping: [....-..-..] change \C  on input line ....
-Skipping: [....-..-..] change \C  on input line ....
-Applying: [....-..-..] Undo module on input line ....
+Skipping module lttestmodule on input line ....
 END module: lttestmodule (....-..-..) on input line ....
 )
-! Undefined control sequence.
-l. ...\edef\x{\A
-                }\show\x \show\B \show\C \show\D
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
 > \x=macro:
-->.
+->changed internal.
 l. ...\edef\x{\A}\show\x
                          \show\B \show\C \show\D
-> \B=undefined.
+> \B=\long macro:
+->altered.
 l. ...\edef\x{\A}\show\x \show\B
                                  \show\C \show\D
-> \C=undefined.
+> \C=\long macro:
+->metoo.
 l. ...\edef\x{\A}\show\x \show\B \show\C
                                          \show\D
-> \D=undefined.
+> \D=\long macro:
+->.
 l. ...\edef\x{\A}\show\x \show\B \show\C \show\D





More information about the latex3-commits mailing list.