summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-10-25 22:10:11 +0000
committerKarl Berry <karl@freefriends.org>2012-10-25 22:10:11 +0000
commit7e4dd41488a839762c8a438f760a96bb45373d8f (patch)
treeda27677062de0820cbde206e3c02f5ad2c07ddbe
parentc062be5e345cbf2ad10ea75d8bc4eb636e4c87c1 (diff)
filedate (25oct12)
git-svn-id: svn://tug.org/texlive/trunk@28076 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/filedate/Announce.txt6
-rw-r--r--Master/texmf-dist/doc/latex/filedate/README8
-rw-r--r--Master/texmf-dist/doc/latex/filedate/SrcFILEs.txt8
-rw-r--r--Master/texmf-dist/doc/latex/filedate/filedate.pdfbin331813 -> 579239 bytes
-rw-r--r--Master/texmf-dist/source/latex/filedate/filedate.tex8
-rw-r--r--Master/texmf-dist/source/latex/filedate/srcfiles.tex4
-rw-r--r--Master/texmf-dist/tex/latex/filedate/filedate.sty28
7 files changed, 45 insertions, 17 deletions
diff --git a/Master/texmf-dist/doc/latex/filedate/Announce.txt b/Master/texmf-dist/doc/latex/filedate/Announce.txt
index 2999eae68dd..648638c8571 100644
--- a/Master/texmf-dist/doc/latex/filedate/Announce.txt
+++ b/Master/texmf-dist/doc/latex/filedate/Announce.txt
@@ -18,3 +18,9 @@ documentation source and driver `filedate.tex'. Another
motivating example of "date inconsistency" was `nicefilelist'
v0.6 as of 2012-10-11 (see version history) with "info date"
2012/10/03.
+
+SECOND UPLOAD 2012-10-25: v0.3 has
+
+ * bug fix with \DatesDiffNotices
+ * new \DatesDiffWarnings
+
diff --git a/Master/texmf-dist/doc/latex/filedate/README b/Master/texmf-dist/doc/latex/filedate/README
index be5654431ad..faffeb7f963 100644
--- a/Master/texmf-dist/doc/latex/filedate/README
+++ b/Master/texmf-dist/doc/latex/filedate/README
@@ -1,7 +1,7 @@
README for the `filedate' package
Access and Compare Info and Modification Dates
- (C) Uwe Lueck 2012/10/17
+ (C) Uwe Lueck 2012/10/25
`filedate.sty' provides basic access to the date of a LaTeX
source file according to its \ProvidesFile, \ProvidesPackage,
@@ -11,7 +11,8 @@ latter is available. Moreover commands are provided to compare
the "info date" with the modification date, with "today"'s
date, or with another date that a script accessing modifica-
tion dates such as adhocfilelist.sh may insert, and to choose
-the effect of comparisons (error vs. "notice", reference date characterization). Thus updating the "info date" ("date con-
+the effect of comparisons (error vs. "notice", reference date
+characterization). Thus updating the "info date" ("date con-
sistency") of a source file may be ensured by a test during
typesetting from it or by some (shell/TeX) script.
@@ -19,7 +20,8 @@ REQUIRED PACKAGES: `readprov' for two commands
RELATED PACKAGES: filemod, getfiledate, zwgetfdate, fileinfo
-KEYWORDs: package documentation, document versions
+KEYWORDs: modification date, metadata, package documentation,
+ document versions, macro programming
LICENSE:
diff --git a/Master/texmf-dist/doc/latex/filedate/SrcFILEs.txt b/Master/texmf-dist/doc/latex/filedate/SrcFILEs.txt
index 0b4aae1bbe0..257fd15012d 100644
--- a/Master/texmf-dist/doc/latex/filedate/SrcFILEs.txt
+++ b/Master/texmf-dist/doc/latex/filedate/SrcFILEs.txt
@@ -1,11 +1,11 @@
*File List*
-filedate.sty 2012/10/19 v0.21 check file dates (UL)
-filedate.tex 2012/10/19 -- documenting filedate.sty
+filedate.sty 2012/10/25 v0.3 check file dates (UL)
+filedate.tex 2012/10/25 -- documenting filedate.sty
wrong.tex 2012/10/15 -- filedate.sty demo
-srcfiles.tex 2012/10/19 -- file infos -> SrcFILEs.txt
+srcfiles.tex 2012/10/25 -- file infos -> SrcFILEs.txt
***********
- List made at 2012/10/19, 19:42
+ List made at 2012/10/25, 11:38
from script file srcfiles.tex
diff --git a/Master/texmf-dist/doc/latex/filedate/filedate.pdf b/Master/texmf-dist/doc/latex/filedate/filedate.pdf
index e9080d3600e..7b4e5748ba6 100644
--- a/Master/texmf-dist/doc/latex/filedate/filedate.pdf
+++ b/Master/texmf-dist/doc/latex/filedate/filedate.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/filedate/filedate.tex b/Master/texmf-dist/source/latex/filedate/filedate.tex
index 2029b3e64d0..2e1a2383ec5 100644
--- a/Master/texmf-dist/source/latex/filedate/filedate.tex
+++ b/Master/texmf-dist/source/latex/filedate/filedate.tex
@@ -1,4 +1,4 @@
-\ProvidesFile{filedate.tex}[2012/10/19 documenting filedate.sty]
+\ProvidesFile{filedate.tex}[2012/10/25 documenting filedate.sty]
%% 2012/06/24
\title{\pkgtitle{filedate.sty}{Access and Compare Info and Modification Date}}
% \listfiles
@@ -8,7 +8,10 @@
\documentclass[fleqn]{article}%% TODO paper dimensions!?
\input{makedoc.cfg} %% shared formatting settings
\usepackage{filedate,readprov}
-\MDkeywords{package management, document versions}
+\MDkeywords{modification date, metadata, package documentation,
+ %% <- were these two 2012/10/25 ->
+ document versions, macro programming}
+\usepackage{lmodern}
\sloppy
\newcommand*{\TODO}[1][]{%
\textcolor{blue}{TODO\ifx$#1$\else\space#1\fi}}
@@ -153,3 +156,4 @@ VERSION HISTORY
2012/10/16 for v0.2 started %% was v0.1 2012/10/19
2012/10/17 completed
2012/10/19 for v0.21 added srcfiles check, corr. history
+2012/10/25 for v0.3 more than two keywords, lmodern
diff --git a/Master/texmf-dist/source/latex/filedate/srcfiles.tex b/Master/texmf-dist/source/latex/filedate/srcfiles.tex
index 6eb924016f4..6e10095107b 100644
--- a/Master/texmf-dist/source/latex/filedate/srcfiles.tex
+++ b/Master/texmf-dist/source/latex/filedate/srcfiles.tex
@@ -1,4 +1,4 @@
-\ProvidesFile{srcfiles.tex}[2012/10/19 file infos -> SrcFILEs.txt]
+\ProvidesFile{srcfiles.tex}[2012/10/25 file infos -> SrcFILEs.txt]
\RequirePackage{nicefilelist,filedate}
\MFfieldtemplate{f-base}{filedate}
\RequirePackage{myfilist}
@@ -12,6 +12,8 @@
%\ReadFileInfos{makedoc.cfg,mdoccorr.cfg}
\ReadFileInfos{srcfiles.tex}
\EqualityMessages
+\CheckDateOfPDFmod{filedate.sty}
+\CheckDateOfPDFmod{filedate.tex}
\CheckDateOfPDFmod{srcfiles.tex}
\ListInfos[SrcFILEs.txt]
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'