summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/filedate
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-10-22 23:28:15 +0000
committerKarl Berry <karl@freefriends.org>2012-10-22 23:28:15 +0000
commit79a54feac45324dc347d658510742f578ea9c5da (patch)
treed33d0f6b5b87fd55ba0484cba78a4aafc784208c /Master/texmf-dist/source/latex/filedate
parentdaaeaf2b27cf6fd1376b8a0ab96409972fb5d58c (diff)
filedate (20oct12)
git-svn-id: svn://tug.org/texlive/trunk@28051 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/filedate')
-rw-r--r--Master/texmf-dist/source/latex/filedate/filedate.tex22
-rw-r--r--Master/texmf-dist/source/latex/filedate/srcfiles.tex10
2 files changed, 25 insertions, 7 deletions
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]