summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/filedate/SrcFILEs.txt8
-rw-r--r--Master/texmf-dist/doc/latex/filedate/filedate.pdfbin330002 -> 331813 bytes
-rw-r--r--Master/texmf-dist/source/latex/filedate/filedate.tex22
-rw-r--r--Master/texmf-dist/source/latex/filedate/srcfiles.tex10
-rw-r--r--Master/texmf-dist/tex/latex/filedate/filedate.sty29
5 files changed, 46 insertions, 23 deletions
diff --git a/Master/texmf-dist/doc/latex/filedate/SrcFILEs.txt b/Master/texmf-dist/doc/latex/filedate/SrcFILEs.txt
index 9db82980347..0b4aae1bbe0 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/17 v0.2 check file dates (UL)
-filedate.tex 2012/10/17 -- documenting filedate.sty
+filedate.sty 2012/10/19 v0.21 check file dates (UL)
+filedate.tex 2012/10/19 -- documenting filedate.sty
wrong.tex 2012/10/15 -- filedate.sty demo
-srcfiles.tex 2012/10/16 -- file infos -> SrcFILEs.txt
+srcfiles.tex 2012/10/19 -- file infos -> SrcFILEs.txt
***********
- List made at 2012/10/17, 12:33
+ List made at 2012/10/19, 19:42
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 97a575027ca..e9080d3600e 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 3867f22bb5f..2029b3e64d0 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/17 documenting filedate.sty]
+\ProvidesFile{filedate.tex}[2012/10/19 documenting filedate.sty]
%% 2012/06/24
\title{\pkgtitle{filedate.sty}{Access and Compare Info and Modification Date}}
% \listfiles
@@ -13,7 +13,9 @@
\newcommand*{\TODO}[1][]{%
\textcolor{blue}{TODO\ifx$#1$\else\space#1\fi}}
\providecommand*{\LuaTeX}{Lua\TeX}
+\providecommand*{\pdfTeX}{pdf\TeX}
\providecommand*{\XeLaTeX}{X\lower.5ex\hbox{E}\kern-.125em\LaTeX}
+%% <- TODO some logo package
\begin{document}
\maketitle
\begin{MDabstract}
@@ -116,10 +118,14 @@ issues
\EqualityMessages
\CheckDateOfPDFmod{filedate.sty}
\CheckDateOfPDFmod{filedate.tex}
+ \ReadFileInfos{srcfiles}
+ \CheckDateOfPDFmod{srcfiles.tex}
\end{verbatim}
\EqualityMessages
\CheckDateOfPDFmod{filedate.sty}
\CheckDateOfPDFmod{filedate.tex}
+ \ReadFileInfos{srcfiles}
+ \CheckDateOfPDFmod{srcfiles.tex}
in order to check whether the ``info dates" of the package file
\qtd{\file{filedate.sty}} and of the documentation source and driver
\qtd{\file{filedate.tex}} are the same as their modification dates
@@ -129,11 +135,21 @@ When I added this on 2012-10-17, it indeed informed me that I had not updated
(\code{2012/10/16},
generation of first version of the file from a template, draft).
-|\EqualityMessages| confirms that the tests were run indeed.
+|\EqualityMessages| confirms that the tests were run indeed.
+
+Check for \qtd{\file{srcfiles.tex}}, the \TeX\ script generating a
+release overview, has been added 2012-10-19.
+That script performs the checks as well,
+but I might not run it the same day. However, such checks rather
+approaching package management should better be based on modification
+\emph{times}. If this should be done by \TeX\
+(\CtanPkgRef{pdftex}{\pdfTeX}, \ctanpkgref{pdfcmds}),
+it should better be based on the \ctanpkgref{filemod} package.
\end{document}
VERSION HISTORY
-2012/10/16 for v0.1 started
+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
diff --git a/Master/texmf-dist/source/latex/filedate/srcfiles.tex b/Master/texmf-dist/source/latex/filedate/srcfiles.tex
index ce44e72c64e..6eb924016f4 100644
--- a/Master/texmf-dist/source/latex/filedate/srcfiles.tex
+++ b/Master/texmf-dist/source/latex/filedate/srcfiles.tex
@@ -1,8 +1,8 @@
-\ProvidesFile{srcfiles.tex}[2012/10/16 file infos -> SrcFILEs.txt]
-\RequirePackage{nicefilelist}
+\ProvidesFile{srcfiles.tex}[2012/10/19 file infos -> SrcFILEs.txt]
+\RequirePackage{nicefilelist,filedate}
\MFfieldtemplate{f-base}{filedate}
\RequirePackage{myfilist}
-\EmptyFileList %%% [readprov.sty,myfilist.sty]
+\EmptyFileList[filedate.sty] %%% [readprov.sty,myfilist.sty]
%% packages:
\ReadPackageInfos{filedate}
%% documentation:
@@ -10,6 +10,8 @@
%% documentation settings and auxiliaries:
%\ReadPackageInfos{fifinddo,makedoc,niceverb}
%\ReadFileInfos{makedoc.cfg,mdoccorr.cfg}
-\ReadFileInfos{srcfiles}
+\ReadFileInfos{srcfiles.tex}
+\EqualityMessages
+\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 46568260357..272ad631dc4 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/17 v0.2 check file dates (UL)]
+\ProvidesPackage{filedate}[2012/10/19 v0.21 check file dates (UL)]
%% Copyright (C) 2012 Uwe Lueck,
%% http://www.contact-ednotes.sty.de.vu
@@ -105,9 +105,9 @@
\LoadInfoDateOf{#1}%
% \show\theinfodate
\ReadPDFmodDateOf{#1}%
- \edef\@tempb{#2}%
-% \show\@tempb
- \ifx\theinfodate\@tempb
+ \edef\fd@therefdate{#2}%
+% \show\fd@therefdate
+ \ifx\theinfodate\fd@therefdate
\fd@datesequal{#1}%
\else
\fd@datesdiff{#1}%
@@ -128,7 +128,7 @@
\def\fd@equalmess#1{\message{ + #1 passed date check + }}
\def\fd@errdatesdiff#1{%
\PackageError{filedate}{%
- \fd@infodate{#1}\fd@datekind\@tempb}{%
+ \fd@infodate{#1}\fd@refdate}{% %% \fd@refdate 2012/10/19
Fix that!}}
%% |\fd@infodate{<file>}| might be used to change the current
%% presentation of the ``info date:"
@@ -143,17 +143,19 @@
\newcommand*{\DatesDiffErrors}{\let\fd@datesdiff\fd@errdatesdiff}
%% This is the default:
\DatesDiffErrors
-%% After |\DatesDiffNotices|, date differences are told by
+%% After |\DatesDiffNotices|, date differences are reported by
+%% %% <- told -> reported 2012/10/19
%% `\typeout':
\newcommand*{\DatesDiffNotices}{\let\fd@datesdiff\fd@notedatesdiff}
-\def\fd@notedatesdiff#1{\typeout{\fd@infodate{#1}}}
+\def\fd@notedatesdiff#1{\typeout{\fd@infodate{#1}%
+ \fd@refdate}} %% added 2012/10/19
%% After |\ModDates|, reference dates are called ``modification'' dates:
-\newcommand*{\ModDates}{\let\fd@datekind\fd@moddate}
-\def\fd@moddate#1{\MessageBreak vs. modification date #1}
+\newcommand*{\ModDates}{\let\fd@refdate\fd@moddate}
+\def\fd@moddate{\MessageBreak vs. modification date \fd@therefdate}
%% After |\SomeDates|, the type of reference dates is not specified.
%% This is more accurate when the info date is compared with |\rawtoday|.
-\newcommand*{\SomeDates}{\let\fd@datekind\fd@somedate}
-\def\fd@somedate#1{\MessageBreak vs. #1}
+\newcommand*{\SomeDates}{\let\fd@refdate\fd@somedate}
+\def\fd@somedate{\MessageBreak vs. \fd@therefdate}
%% That's the default:
\SomeDates
%%
@@ -201,7 +203,7 @@
%% know that the file was modified ``today".)
\newcommand*{\CheckDateOfToday}[1]{%
\begingroup
- \def\fd@datekind ##1{%
+ \def\fd@refdate{%
\MessageBreak which is not today}%
\CheckDateOf{#1}{\rawtoday}%
\endgroup}
@@ -219,3 +221,6 @@
v0.1 2012/10/15 core try, bad
v0.2 2012/10/16 code for first release
2012/10/17 reordering, correcting documentation
+v0.21 2012/10/19 \fd@datekind\@tempb -> \fd@refdate,
+ \fd@refdate with \DatesDiffNotices! (bug)
+ \@tempb -> \fd@therefdate; doc. mod.s