From 588be4d1b7e254f46ac3c678ef1b3f38833f6491 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 6 Apr 2018 21:33:45 +0000 Subject: latex2e (6apr18) git-svn-id: svn://tug.org/texlive/trunk@47330 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/source/latex/base/latexrelease.dtx | 23 ++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) (limited to 'Master/texmf-dist/source/latex/base/latexrelease.dtx') 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{} \ProvidesFile{latexrelease.dtx} % %\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 % %<*driver> @@ -55,6 +57,8 @@ % % \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} -- cgit v1.2.3