summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-11-13 23:35:22 +0000
committerKarl Berry <karl@freefriends.org>2012-11-13 23:35:22 +0000
commit2bd3a97e68ab7bbf790cb6cfcc49c2d9dae3e51d (patch)
tree31059ca2ad0437e710baf9cae91647a6bb7cdbe5
parent5909d32861c0b70ab3db6533b76d04334d3b1674 (diff)
fileinfo (13nov12)
git-svn-id: svn://tug.org/texlive/trunk@28252 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/fileinfo/RELEASEs.txt (renamed from Master/texmf-dist/doc/latex/fileinfo/RELEASE.txt)10
-rw-r--r--Master/texmf-dist/doc/latex/fileinfo/SrcFILEs.txt (renamed from Master/texmf-dist/doc/latex/fileinfo/CONTENTs.txt)17
-rw-r--r--Master/texmf-dist/doc/latex/fileinfo/myfilist.pdfbin309907 -> 507628 bytes
-rw-r--r--Master/texmf-dist/doc/latex/fileinfo/readprov.pdfbin290577 -> 486548 bytes
-rw-r--r--Master/texmf-dist/source/latex/fileinfo/fdatechk.tex11
-rw-r--r--Master/texmf-dist/source/latex/fileinfo/gather.tex21
-rw-r--r--Master/texmf-dist/source/latex/fileinfo/myfilist.tex28
-rw-r--r--Master/texmf-dist/source/latex/fileinfo/readprov.tex15
-rw-r--r--Master/texmf-dist/tex/latex/fileinfo/fileinfo.RLS9
-rw-r--r--Master/texmf-dist/tex/latex/fileinfo/readprov.sty34
10 files changed, 88 insertions, 57 deletions
diff --git a/Master/texmf-dist/doc/latex/fileinfo/RELEASE.txt b/Master/texmf-dist/doc/latex/fileinfo/RELEASEs.txt
index b6b14986a03..2f306f38bb5 100644
--- a/Master/texmf-dist/doc/latex/fileinfo/RELEASE.txt
+++ b/Master/texmf-dist/doc/latex/fileinfo/RELEASEs.txt
@@ -53,3 +53,13 @@ so the script (`gather.tex') can continue with `filedate'
consistency checks and their messages are the last lines
you see on screen.
+r0.8 (2012/11/11) keeps `myfilist' v0.7 while the new
+`readprov' v0.4 is a reimplementation sensible of
+\[No]FileDateAutoChecks from `filedate' v0.4.
+
+r0.8a (2012/11/13)
+ * provides the proper `fileinfo.RLS' ...
+ * applies more `filedate' tricks in `gather.tex' and new
+ `fdatechk.tex' (see `Example' in `myfilist.pdf'),
+ `myfilist.tex', and `readprov.tex', supported by new
+ `makedoc.cfg' from `nicetext'.
diff --git a/Master/texmf-dist/doc/latex/fileinfo/CONTENTs.txt b/Master/texmf-dist/doc/latex/fileinfo/SrcFILEs.txt
index caccced26ee..b00d3f4728d 100644
--- a/Master/texmf-dist/doc/latex/fileinfo/CONTENTs.txt
+++ b/Master/texmf-dist/doc/latex/fileinfo/SrcFILEs.txt
@@ -1,22 +1,23 @@
*File List*
-RELEASE.--- ----------
-fileinfo.RLS 2012/10/25 r0.7 myfilist v0.7 \NoStopListInfos
+fileinfo.RLS 2012/11/13 r0.8a readprov v0.4 sensible of \FileDateAutoChecks
-----USE.--- ----------
-readprov.sty 2012/03/20 v0.3b file infos without loading (UL)
myfilist.sty 2012/10/25 v0.7 \listfiles -- mine only (UL)
+readprov.sty 2012/11/11 v0.4 file infos without loading (UL)
-----DOC.--- ----------
-readprov.tex 2012/03/18 documenting readprov.sty
-myfilist.tex 2012/10/25 documenting myfilist.sty
+myfilist.tex 2012/11/13 documenting myfilist.sty
+readprov.tex 2012/11/12 documenting readprov.sty
----USED.--- ----------
- README.tex 2012/03/18 make README.pdf
- makedoc.cfg 2012/07/13 documentation settings
+ makedoc.cfg 2012/11/13 documentation settings
fifinddo.sty 2012/08/27 v0.6 filtering TeX(t) files by TeX (UL)
makedoc.sty 2012/08/28 v0.52 TeX input from *.sty (UL)
niceverb.sty 2012/09/27 v0.5 minimize doc markup (UL)
- gather.tex 2012/10/25 collect file infos
+ README.tex 2012/03/18 make README.pdf
+fdatechk.tex 2012/11/13 filedate checks
+ gather.tex 2012/11/13 collect file infos
***********
- List made at 2012/10/25, 12:47
+ List made at 2012/11/13, 15:19
from script file gather.tex
diff --git a/Master/texmf-dist/doc/latex/fileinfo/myfilist.pdf b/Master/texmf-dist/doc/latex/fileinfo/myfilist.pdf
index 859562241d9..4a8400bf1d9 100644
--- a/Master/texmf-dist/doc/latex/fileinfo/myfilist.pdf
+++ b/Master/texmf-dist/doc/latex/fileinfo/myfilist.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/fileinfo/readprov.pdf b/Master/texmf-dist/doc/latex/fileinfo/readprov.pdf
index 7315c4d10f4..69353f267c1 100644
--- a/Master/texmf-dist/doc/latex/fileinfo/readprov.pdf
+++ b/Master/texmf-dist/doc/latex/fileinfo/readprov.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/fileinfo/fdatechk.tex b/Master/texmf-dist/source/latex/fileinfo/fdatechk.tex
new file mode 100644
index 00000000000..f150161a1e5
--- /dev/null
+++ b/Master/texmf-dist/source/latex/fileinfo/fdatechk.tex
@@ -0,0 +1,11 @@
+\ProvidesFile{fdatechk.tex}[2012/11/13 filedate checks]
+%% TODO shorter notation
+\ModDates
+%\EqualityMessages
+\FileDateAutoChecks
+\ReadFileInfos{fileinfo.RLS,
+ readprov.sty,myfilist.sty,
+ readprov,myfilist,
+ gather,fdatechk}
+\DatesDiffWarnings
+\CheckDateOfToday{fileinfo.RLS}
diff --git a/Master/texmf-dist/source/latex/fileinfo/gather.tex b/Master/texmf-dist/source/latex/fileinfo/gather.tex
index a98db80e911..bc8126759ac 100644
--- a/Master/texmf-dist/source/latex/fileinfo/gather.tex
+++ b/Master/texmf-dist/source/latex/fileinfo/gather.tex
@@ -1,22 +1,19 @@
-\ProvidesFile{gather.tex}[2012/10/25 collect file infos]
+\ProvidesFile{gather.tex}[2012/11/13 collect file infos]
\RequirePackage[no-bot]{myfilist}
\RequirePackage{dowith,filedate}
+% \EqualityMessages \FileDateAutoChecks
+%% <- OK except with \FileListRemark TODO 2012/11/11
\EmptyFileList[readprov.sty,myfilist.sty]
\FileListRemark[----------]{-RELEASE.---}
\ReadFileInfos{fileinfo.RLS}
\FileListRemark[----------]{-----USE.---}
-\ReadPackageInfos{readprov,myfilist}
+\ReadPackageInfos{myfilist,readprov}
\FileListRemark[----------]{-----DOC.---}
-\ReadFileInfos{readprov,myfilist}
+\ReadFileInfos{myfilist,readprov}
\FileListRemark[----------]{----USED.---}
-\ReadFileInfos{README.tex,makedoc.cfg}
+\ReadFileInfos{makedoc.cfg}
\ReadPackageInfos{fifinddo,makedoc,niceverb}
-\ReadFileInfos{gather}
-\NoStopListInfos[CONTENTs.txt]
-\ModDates \EqualityMessages
-\UseReferenceDate{\thepdfmoddate}
-\DoWithAllOf\CheckDateOfGiven{{fileinfo.RLS}
- {readprov.sty}{myfilist.sty}
- {readprov.tex}{myfilist.tex}
- {gather.tex}}
+\ReadFileInfos{README,fdatechk,gather}
+\NoStopListInfos[SrcFILEs.txt]
+\input{fdatechk.tex}
\stop
diff --git a/Master/texmf-dist/source/latex/fileinfo/myfilist.tex b/Master/texmf-dist/source/latex/fileinfo/myfilist.tex
index 4114e9b1717..816b592ac53 100644
--- a/Master/texmf-dist/source/latex/fileinfo/myfilist.tex
+++ b/Master/texmf-dist/source/latex/fileinfo/myfilist.tex
@@ -1,4 +1,4 @@
-\ProvidesFile{myfilist.tex}[2012/10/25 documenting myfilist.sty]
+\ProvidesFile{myfilist.tex}[2012/11/13 documenting myfilist.sty]
\title{\textsf{myfilist}\\---\\
List Infos on just the Files\\You Want to Know About%
\GetFileInfo{myfilist.sty}\thanks{%
@@ -62,7 +62,7 @@
\ReadPackageInfos{myfilist}
\usepackage{wiki}
%% TeX markup inserted by the txt-to-TeX function must be
-%% declared here for using 'niceverb''s ``auto mode".
+%% declared here for using 'niceverb''s ``auto mode.''
\AddToNoVerbList{\LaTeXe\dots\textbf\emph
\TeX\LaTeX} %% 2012/09/28
\begingroup \MakeActive\"
@@ -74,6 +74,7 @@
\pagestyle{headings}
\usepackage{parskip}
+\MDfinaldatechecks
\begin{document}
\maketitle
@@ -120,8 +121,8 @@ The file '\jobname.sty' is provided ready, installation only requires
putting it somewhere where \TeX\ finds it
(which may need updating the filename data
base).\urlfoot{ukfaqref}{inst-wlcf}
-\section{File Info Header}
+\section{File Info Header}
\sloppy
\enlargethispage{.5\baselineskip} %% 2012/10/12
\wikiEnvironments %% TODO fails with "or" 2010/03/31
@@ -130,9 +131,22 @@ putting it somewhere where \TeX\ finds it
\nowikiEnvironments
\section{Example}
-`gather.tex' for the present bundle has been as follows
- %% TODO 2010/11/27:
-(added development versions of 'fifinddo.sty' etc.):
-\verbatiminput{gather} %% 2010/11/27
+% \setlength{\parskip}{0pt} %% 2012/11/13
+\AddQuotes
+`gather.tex' for the present bundle has been as follows.
+% %% TODO 2010/11/27:
+% (added development versions of 'fifinddo.sty' etc.):
+%% 2012/11/12:
+`filedate' and `fdatechk' refer to checking ``date consistency''
+with the \ctanpkgref{filedate} package, at the same time
+as updating the ``source file list'' `SrcFILEs.txt'
+which is generated by
+\[`\NoStopListInfos[SrcFILEs.txt]'\]
+Some entries refer to the \ctanpkgref{nicetext} bundle
+that has been used (``\code{----USED.---}'')
+to generate the documentation file `myfilist.pdf'.
+\MDsamplecodeinput{gather} %% 2010/11/27 2012/11/13
+As to `fdatechk.tex':
+\MDsamplecodeinput{fdatechk}
\end{document}
diff --git a/Master/texmf-dist/source/latex/fileinfo/readprov.tex b/Master/texmf-dist/source/latex/fileinfo/readprov.tex
index 3cd1104ff89..130599d5011 100644
--- a/Master/texmf-dist/source/latex/fileinfo/readprov.tex
+++ b/Master/texmf-dist/source/latex/fileinfo/readprov.tex
@@ -1,4 +1,5 @@
-\ProvidesFile{readprov.tex}[2012/03/18 documenting readprov.sty]
+\ProvidesFile{readprov.tex}[2012/11/12 documenting readprov.sty]
+% \ProvidesFile{readprov.tex}[2012/03/18 documenting readprov.sty]
% \ProvidesFile{readprov.tex}[2011/01/29 documenting readprov.sty]
\title{\textsf{readprov}\\---\\Get File Info without Loading%
@@ -79,6 +80,7 @@
\pagestyle{headings}
% \usepackage{parskip}
+\MDfinaldatechecks
\begin{document}
\maketitle
@@ -114,17 +116,14 @@ putting it somewhere where \TeX\ finds it
\section{File Info Header}
\sloppy
-\makeatletter
- \newcommand*{\docnewline}{\leavevmode\@normalcr[\topsep]}
- %% <- \leavevmode for use with \paragraph.
- %% sometimes needs to be preceded by a space.
-\makeatother
\AddToNoVerbList{%
- \LaTeX\emph\dots\quad\paragraph\texttt\textcolor\\}
+ \LaTeX\emph\dots\quad\paragraph\texttt\textcolor\\%
+ \-} %% 2012/11/11
\MakeActiveLetHere\"\fineDQ
-\let\\\docnewline
+\let\\\MDdocnewline %% MD 2012/11/12
%% CARE! from next line on, code line indents are special!
\wikiEnvironments %% TODO fails with "or" 2010/03/31
\AutoCmdInput{readprov.doc}
+\nowikiEnvironments %% 2012/11/12
\end{document}
diff --git a/Master/texmf-dist/tex/latex/fileinfo/fileinfo.RLS b/Master/texmf-dist/tex/latex/fileinfo/fileinfo.RLS
index 931bc187fdc..5a781a942cf 100644
--- a/Master/texmf-dist/tex/latex/fileinfo/fileinfo.RLS
+++ b/Master/texmf-dist/tex/latex/fileinfo/fileinfo.RLS
@@ -1,7 +1,8 @@
\ProvidesFile{fileinfo.RLS} %% RELEASE INFO
- [2012/10/25 r0.7 myfilist v0.7 \string\NoStopListInfos]
- [2012/10/12 r0.6 myfilist v0.6a, correcting r0.5]
- [{2012/10/11 r0.5 myfilist v0.5f.: fake entries, [no-bot]}]
- [2012/05/26 r0.4 myfilist v0.4: options]
+ [2012/11/13 r0.8a readprov v0.4 sensible of \string\FileDateAutoChecks]
+ [2012/10/25 r0.7 myfilist v0.7 \string\NoStopListInfos]
+ [2012/10/12 r0.6 myfilist v0.6a, correcting r0.5]
+ [{2012/10/11 r0.5 myfilist v0.5f.: fake entries, [no-bot]}]
+ [2012/05/26 r0.4 myfilist v0.4: options]
[2012/03/18/20 r0.3b+ internal!?] %% 2012/05/26
[2012/03/18/18 r0.3b doc. (generation) mod.s] %% 2012/05/26
diff --git a/Master/texmf-dist/tex/latex/fileinfo/readprov.sty b/Master/texmf-dist/tex/latex/fileinfo/readprov.sty
index 673d1f3da94..fa229b60dd2 100644
--- a/Master/texmf-dist/tex/latex/fileinfo/readprov.sty
+++ b/Master/texmf-dist/tex/latex/fileinfo/readprov.sty
@@ -2,7 +2,7 @@
%% --
%% get file infos without reading the entire file
-\def \fileversion {0.3b} \def \filedate {2012/03/20}
+\def \fileversion {0.4} \def \filedate {2012/11/11}
%% copyright (C) 2008, 2010, 2011, 2012 Uwe Lueck,
%% http://www.contact-ednotes.sty.de.vu
@@ -139,33 +139,29 @@
% |\ReadClassInfo{<filename>}| without extension:
\newcommand*{\ReadClassInfo}{%
\read@package@infos\LoadClass{cls}}
+% Before v0.4, the modified ultimate expansion of \@pr@videpackage
+% was fixed or ``static.'' Now \@pr@videpackage is modified
+% at each call of \ReadClassInfo or `\Read'\-`PackageInfos'
+% in such a way that the \emph{current} meaning of
+% `\@pr@vide'\-`package' is used by the modified one---\emph{another}
+% package ('filedate') may have modified
+% \@pr@videpackage before, and the latter's meaning may
+% change several times during a \TeX\ run:
\newcommand*{\read@package@infos}[3]{%
%% #1 \Req.../Load..., #2 extension, #3 name list
\begingroup %% 2010/11/26
- \let\@pr@videpackage\read@pr@videpackage
+ \let\RP@@provpkg\@pr@videpackage
+ \def\@pr@videpackage[##1]{\RP@@provpkg[{##1}]\endinput}%
#1{#3}%
\endgroup \GetFileInfo{#3.#2}% %% 2010/11/26
}
%% <- TODO more classes 2008/03/16
-\def\read@pr@videpackage[#1]{%
- \expandafter\xdef\csname ver@\@currname.\@currext\endcsname{#1}%
- \ifx\@currext\@clsextension
- \typeout{Document Class: \@gtempa\space#1}%
- \else
- \wlog{Package: \@gtempa\space#1}%
- \fi
- \endinput}%
- %% <- TODO \let\read@@... and just add \endinput 2008/03/19
% |\ReadFileInfos{<list-of-filenames>}| with extensions:
\newcommand*{\ReadFileInfos}[1]{%
\begingroup
- \def\@providesfile##1[##2]{%
- %% <- cf. second/final LaTeX def. 2008/03/19
- \wlog{File: ##1 ##2}%
- \expandafter\xdef\csname ver@##1\endcsname{##2}%
- \endgroup \endinput}%
- %% <- TODO \let\read@@... and just add
- %% \endgroup\endinput 2008/03/19
+% v0.4 treats \@providesfile by analogy to \@pr@videpackage above:
+ \let\RP@@provfile\@providesfile
+ \def\@providesfile##1[##2]{\RP@@provfile{##1}[{##2}]\endinput}%
%% 2008/03/19:
\def\ProvidesClass ##1{\ProvidesFile{##1.\@clsextension}}%
\def\ProvidesPackage##1{\ProvidesFile{##1.\@pkgextension}}%
@@ -193,3 +189,5 @@ v0.3 2010/11/25 split off from former "myfiles.sty",
\docnewline -> \\; NOTE etc.
v0.3a 2012/03/16 doc.: grammar fix
v0.3b 2012/03/20 typo fix "Of"
+v0.4 2012/11/10 reimplementation for `filedate'
+ (\@pr@videpackage, \@providefile)