diff options
author | Karl Berry <karl@freefriends.org> | 2012-10-25 22:10:11 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-10-25 22:10:11 +0000 |
commit | 7e4dd41488a839762c8a438f760a96bb45373d8f (patch) | |
tree | da27677062de0820cbde206e3c02f5ad2c07ddbe /Master/texmf-dist/tex/latex/filedate | |
parent | c062be5e345cbf2ad10ea75d8bc4eb636e4c87c1 (diff) |
filedate (25oct12)
git-svn-id: svn://tug.org/texlive/trunk@28076 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/filedate')
-rw-r--r-- | Master/texmf-dist/tex/latex/filedate/filedate.sty | 28 |
1 files changed, 21 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/filedate/filedate.sty b/Master/texmf-dist/tex/latex/filedate/filedate.sty index 272ad631dc4..5f3e52a7716 100644 --- a/Master/texmf-dist/tex/latex/filedate/filedate.sty +++ b/Master/texmf-dist/tex/latex/filedate/filedate.sty @@ -1,5 +1,5 @@ \NeedsTeXFormat{LaTeX2e}[1994/12/01] -\ProvidesPackage{filedate}[2012/10/19 v0.21 check file dates (UL)] +\ProvidesPackage{filedate}[2012/10/25 v0.3 check file dates (UL)] %% Copyright (C) 2012 Uwe Lueck, %% http://www.contact-ednotes.sty.de.vu @@ -19,8 +19,9 @@ %% === The \ctanpkgref{readprov} Package === %% \label{sec:readprov} % \RequirePackage{readprov} -%% ---is required for |\ReadInfoDate{<file>}| -%% and |\ReadCheckDateOf{<file>}| +%% ---is required for \[|\ReadInfoDate{<file>}|\quad +%% \mbox{and}\quad |\ReadCheckDateOf{<file>}{<date>}|\] +%% %% <- <date>, \[...\] 2012/10/25 %% % \hyperref[sec:readinfo]{below} %% (sections~\ref{sec:readinfo} and \ref{sec:readcheck}) %% % below @@ -122,7 +123,8 @@ %% === Reporting Styles === %% By default, there is no report about comparisons finding equality. \let\fd@datesequal\@gobble -%% We do not want to disturb `\listfiles' with \ctanpkgref{myfilist}. +%% % We do not want to disturb `\listfiles' with \ctanpkgref{myfilist}. +%% %% <- rm. 2012/10/25 %% |\EqualityMessages| changes this to screen and log messages: \newcommand*{\EqualityMessages}{\let\fd@datesequal\fd@equalmess} \def\fd@equalmess#1{\message{ + #1 passed date check + }} @@ -147,8 +149,15 @@ %% %% <- told -> reported 2012/10/19 %% `\typeout': \newcommand*{\DatesDiffNotices}{\let\fd@datesdiff\fd@notedatesdiff} -\def\fd@notedatesdiff#1{\typeout{\fd@infodate{#1}% - \fd@refdate}} %% added 2012/10/19 +\def\fd@notedatesdiff#1{\def\MessageBreak{^^J}% %% added 2012/10/24 + {\typeout{\fd@infodate{#1}% + \fd@refdate}}} %% added 2012/10/19 +%% v0.7 adds |\DatesDiffWarnings| to get more salient reports of +%% date differences by `\PackageWarningNoLine': +\newcommand*{\DatesDiffWarnings}{\let\fd@datesdiff\fd@warndatesdiff} +\def\fd@warndatesdiff#1{% + \PackageWarningNoLine{filedate}% + {\fd@infodate{#1}\fd@refdate}} %% After |\ModDates|, reference dates are called ``modification'' dates: \newcommand*{\ModDates}{\let\fd@refdate\fd@moddate} \def\fd@moddate{\MessageBreak vs. modification date \fd@therefdate} @@ -178,7 +187,7 @@ %% The latter %% may be an explicit %% \[<4-digits>/<2-digits>/<2-digits>\quad -%% (`yyyy/mm/dd')\]--a script might insert it---, +%% (`yyyy/mm/dd')\]---a script might insert it---, %% `\rawtoday', or `\thepdfmoddate'. %% \ctanpkgref{adhocfilelist} v0.7 (with option \strong{\code{-c}}) %% is such a script, a shell script generating a ``\TeX\ script", @@ -224,3 +233,8 @@ v0.2 2012/10/16 code for first release v0.21 2012/10/19 \fd@datekind\@tempb -> \fd@refdate, \fd@refdate with \DatesDiffNotices! (bug) \@tempb -> \fd@therefdate; doc. mod.s +v0.3 2012/10/24 \MessageBreak fix, \DatesDiffWarnings + 2012/10/25 doc.: add <date> in sec:readprov, + rm. remark on \fd@datesequal, + mod. text on \DatesDiffWarnings, + -- -> --- before `a script might' |