[latex3-commits] [git/LaTeX3-latex3-latex2e] gh186: new commands (84d04ecf)
Frank Mittelbach
frank.mittelbach at latex-project.org
Wed Apr 8 11:00:46 CEST 2020
Repository : https://github.com/latex3/latex2e
On branch : gh186
Link : https://github.com/latex3/latex2e/commit/84d04ecfc854ba793424b62adc2fbec65b93bab9
>---------------------------------------------------------------
commit 84d04ecfc854ba793424b62adc2fbec65b93bab9
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Wed Apr 8 11:00:46 2020 +0200
new commands
>---------------------------------------------------------------
84d04ecfc854ba793424b62adc2fbec65b93bab9
base/ltclass.dtx | 23 +++++++++++++++++------
1 file changed, 17 insertions(+), 6 deletions(-)
diff --git a/base/ltclass.dtx b/base/ltclass.dtx
index 00b83e00..08529437 100644
--- a/base/ltclass.dtx
+++ b/base/ltclass.dtx
@@ -638,8 +638,10 @@
%
%
-% \begin{macro}{\@ifformatlater}
-% |\@ifformatlater{YYYY/MM/DD}{|\meta{true
+% \begin{macro}{\@ifpackageatleast}
+% \begin{macro}{\@ifclassatleast}
+% \begin{macro}{\@ifformatatleast}
+% |\@ifformatatleast{YYYY/MM/DD}{|\meta{true
% code}|}{|\meta{false code}|}|
% Test if the format is later or equal to the given date.
% \changes{v1.3k}{2020/04/07}{Macro added; also in rollback (gh/168)}
@@ -647,20 +649,29 @@
%</2ekernel>
%<*2ekernel|latexrelease>
%<latexrelease>\IncludeInRelease{2020/10/01}%
-%<latexrelease> {\@ifformatlater}{Test format date}%
-\def\@ifformatlater{\@ifl at t@r\fmtversion}
+%<latexrelease> {\@ifformatatleast}{Test format date}%
+\def\@ifformatatleast{\@ifl at t@r\fmtversion}
+\let\@ifpackageatleast\@ifpackagelater
+\let\@ifclassatleast\@ifclasslater
+\@onlypreamble\@ifformatatleast
+\@onlypreamble\@ifpackageatleast
+\@onlypreamble\@ifclassatleast
% \end{macrocode}
% For rollback pretend it was available since the beginning of dawn.
% \begin{macrocode}
%</2ekernel|latexrelease>
%<latexrelease>\EndIncludeInRelease
%<latexrelease>\IncludeInRelease{0000/00/00}%
-%<latexrelease> {\@ifformatlater}{Test format date}%
-%<latexrelease>\def\@ifformatlater{\@ifl at t@r\fmtversion}
+%<latexrelease> {\@ifformatatleast}{Test format date}%
+%<latexrelease>\def\@ifformatatleast{\@ifl at t@r\fmtversion}
+%<latexrelease>\let\@ifpackageatleast\@ifpackagelater
+%<latexrelease>\let\@ifclassatleast\@ifclasslater
%<latexrelease>\EndIncludeInRelease
%<*2ekernel>
% \end{macrocode}
% \end{macro}
+% \end{macro}
+% \end{macro}
%
% \begin{macro}{\@ifl at ter}
% \begin{macrocode}
More information about the latex3-commits
mailing list.