[latex3-commits] [git/LaTeX3-latex3-latex2e] master: reformat a line in ltvers to avoid overfull boxes in source2e explain both date forms in error message of latexrelease (3d0bc84)
Frank Mittelbach
frank.mittelbach at latex-project.org
Wed Jan 31 00:58:52 CET 2018
Repository : https://github.com/latex3/latex2e
On branch : master
Link : https://github.com/latex3/latex2e/commit/3d0bc8400797d10d5444111ddf5cb42adfab83dd
>---------------------------------------------------------------
commit 3d0bc8400797d10d5444111ddf5cb42adfab83dd
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Wed Jan 31 00:58:52 2018 +0100
reformat a line in ltvers to avoid overfull boxes in source2e
explain both date forms in error message of latexrelease
>---------------------------------------------------------------
3d0bc8400797d10d5444111ddf5cb42adfab83dd
base/latexrelease.dtx | 7 ++++---
base/ltvers.dtx | 6 ++++--
2 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/base/latexrelease.dtx b/base/latexrelease.dtx
index 967d991..dfd884a 100644
--- a/base/latexrelease.dtx
+++ b/base/latexrelease.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2017
+% Copyright 1993-2018
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
@@ -40,7 +40,7 @@
%<*!fixltx2e>
% \fi
% \ProvidesFile{latexrelease.dtx}
- [2017/12/17 v1.0i LaTeX release emulation and tests
+ [2018/01/30 v1.0j LaTeX release emulation and tests
(including releases up to \latexreleaseversion)]
% \iffalse
%</!fixltx2e>
@@ -396,6 +396,7 @@
% ensures |requestedLaTeXdate| gets set to a number. Generate an
% error if there are any non digit tokens remaining after removing the
% |//|.
+% \changes{v1.0j}{2018/01/30}{Explain both date formats in error message}
% \begin{macrocode}
\def\reserved at a{%
\edef\requestedLaTeXdate{\the\count@}%
@@ -405,7 +406,7 @@
\ifx\reserved at b\@empty\else
\PackageError{latexrelease}%
{Unexpected option \requestedpatchdate}%
- {The option must be of the form yyyy/mm/dd}%
+ {The option must be of the form yyyy/mm/dd or yyyy-mm-dd}%
\fi}
\afterassignment\reserved at a
\count@\expandafter
diff --git a/base/ltvers.dtx b/base/ltvers.dtx
index f491166..d8162ca 100644
--- a/base/ltvers.dtx
+++ b/base/ltvers.dtx
@@ -232,10 +232,12 @@
% \begin{macrocode}
\long\def\@gobble at IncludeInRelease#1\EndIncludeInRelease{%
\@includeinreleasefalse
- \@check at IncludeInRelease#1\IncludeInRelease\@check at IncludeInRelease\@end at check@IncludeInRelease}
+ \@check at IncludeInRelease#1\IncludeInRelease\@check at IncludeInRelease
+ \@end at check@IncludeInRelease}
% \end{macrocode}
% \begin{macrocode}
-\long\def\@check at IncludeInRelease#1\IncludeInRelease#2#3\@end at check@IncludeInRelease{%
+\long\def\@check at IncludeInRelease#1\IncludeInRelease
+ #2#3\@end at check@IncludeInRelease{%
\ifx\@check at IncludeInRelease#2\else
\PackageError{latexrelease}{skipped IncludeInRelease}{}%
\fi}
More information about the latex3-commits
mailing list