summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/base/latexrelease.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/base/latexrelease.dtx')
-rw-r--r--Master/texmf-dist/source/latex/base/latexrelease.dtx23
1 files changed, 15 insertions, 8 deletions
diff --git a/Master/texmf-dist/source/latex/base/latexrelease.dtx b/Master/texmf-dist/source/latex/base/latexrelease.dtx
index 15be21a45cc..3a129e981b2 100644
--- a/Master/texmf-dist/source/latex/base/latexrelease.dtx
+++ b/Master/texmf-dist/source/latex/base/latexrelease.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2016
+% Copyright 1993-2018
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
@@ -11,7 +11,7 @@
% conditions of the LaTeX Project Public License, either version 1.3c
% of this license or (at your option) any later version.
% The latest version of this license is in
-% http://www.latex-project.org/lppl.txt
+% https://www.latex-project.org/lppl.txt
% and version 1.3c or later is part of all distributions of LaTeX
% version 2005/12/01 or later.
%
@@ -30,6 +30,7 @@
% \iffalse
%
%<*dtx>
+ \def\latexreleaseversion{<date only known in .sty file>}
\ProvidesFile{latexrelease.dtx}
%</dtx>
%<driver>\ProvidesFile{latexrelease.drv}
@@ -39,7 +40,8 @@
%<*!fixltx2e>
% \fi
% \ProvidesFile{latexrelease.dtx}
- [2016/12/29 v1.0h LaTeX release emulation and tests]
+ [2018/02/18 v1.0j LaTeX release emulation and tests
+ (including releases up to \latexreleaseversion)]
% \iffalse
%</!fixltx2e>
%<*driver>
@@ -55,6 +57,8 @@
%</driver>
% \fi
%
+% \changes{v1.0i}{2017/12/17}{Add \cs{latexreleaseversion} info
+% to \cs{ProvidesPackage} output}
%
%
% \let\package\textsf
@@ -113,10 +117,12 @@
%
% \section{Package Options}
% \begin{itemize}
-% \item \emph{yyyy/mm/dd}
-% The package accepts any \LaTeX\ format date as argument,%
+% \item \emph{yyyy/mm/dd} or \emph{yyyy-nn-dd}
+% The package accepts any possible \LaTeX\ format date as argument,
% although dates in the future for which the current release of this
-% package has no information will generate a warning.
+% package has no information will generate a warning. Dates
+% earlier than 2015 will work but will roll back to some point in 2015
+% when the method was introduced.
%
% \item%
% |current| This is the default behaviour, it does not change the
@@ -392,6 +398,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@a{%
\edef\requestedLaTeXdate{\the\count@}%
@@ -401,7 +408,7 @@
\ifx\reserved@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@a
\count@\expandafter
@@ -417,7 +424,7 @@
% \begin{macrocode}
\ifnum\requestedLaTeXdate=\currentLaTeXdate
\PackageWarningNoLine{latexrelease}{%
- Current format date selected, no patches applied.}
+ Current format date selected, no patches applied}
\expandafter\endinput
\fi
% \end{macrocode}