From 2bd3a97e68ab7bbf790cb6cfcc49c2d9dae3e51d Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 13 Nov 2012 23:35:22 +0000 Subject: fileinfo (13nov12) git-svn-id: svn://tug.org/texlive/trunk@28252 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/fileinfo/CONTENTs.txt | 22 ------- Master/texmf-dist/doc/latex/fileinfo/RELEASE.txt | 55 ----------------- Master/texmf-dist/doc/latex/fileinfo/RELEASEs.txt | 65 +++++++++++++++++++++ Master/texmf-dist/doc/latex/fileinfo/SrcFILEs.txt | 23 ++++++++ Master/texmf-dist/doc/latex/fileinfo/myfilist.pdf | Bin 309907 -> 507628 bytes Master/texmf-dist/doc/latex/fileinfo/readprov.pdf | Bin 290577 -> 486548 bytes .../texmf-dist/source/latex/fileinfo/fdatechk.tex | 11 ++++ Master/texmf-dist/source/latex/fileinfo/gather.tex | 21 +++---- .../texmf-dist/source/latex/fileinfo/myfilist.tex | 28 ++++++--- .../texmf-dist/source/latex/fileinfo/readprov.tex | 15 +++-- Master/texmf-dist/tex/latex/fileinfo/fileinfo.RLS | 9 +-- Master/texmf-dist/tex/latex/fileinfo/readprov.sty | 34 +++++------ 12 files changed, 157 insertions(+), 126 deletions(-) delete mode 100644 Master/texmf-dist/doc/latex/fileinfo/CONTENTs.txt delete mode 100644 Master/texmf-dist/doc/latex/fileinfo/RELEASE.txt create mode 100644 Master/texmf-dist/doc/latex/fileinfo/RELEASEs.txt create mode 100644 Master/texmf-dist/doc/latex/fileinfo/SrcFILEs.txt create mode 100644 Master/texmf-dist/source/latex/fileinfo/fdatechk.tex diff --git a/Master/texmf-dist/doc/latex/fileinfo/CONTENTs.txt b/Master/texmf-dist/doc/latex/fileinfo/CONTENTs.txt deleted file mode 100644 index caccced26ee..00000000000 --- a/Master/texmf-dist/doc/latex/fileinfo/CONTENTs.txt +++ /dev/null @@ -1,22 +0,0 @@ - - *File List* --RELEASE.--- ---------- -fileinfo.RLS 2012/10/25 r0.7 myfilist v0.7 \NoStopListInfos ------USE.--- ---------- -readprov.sty 2012/03/20 v0.3b file infos without loading (UL) -myfilist.sty 2012/10/25 v0.7 \listfiles -- mine only (UL) ------DOC.--- ---------- -readprov.tex 2012/03/18 documenting readprov.sty -myfilist.tex 2012/10/25 documenting myfilist.sty -----USED.--- ---------- - README.tex 2012/03/18 make README.pdf - makedoc.cfg 2012/07/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 - *********** - - List made at 2012/10/25, 12:47 - from script file gather.tex - diff --git a/Master/texmf-dist/doc/latex/fileinfo/RELEASE.txt b/Master/texmf-dist/doc/latex/fileinfo/RELEASE.txt deleted file mode 100644 index b6b14986a03..00000000000 --- a/Master/texmf-dist/doc/latex/fileinfo/RELEASE.txt +++ /dev/null @@ -1,55 +0,0 @@ - -First upload of the `fileinfo' bundle to CTAN probably was 2010/11/27, -followed by tries at encoding the README, so README.pdf was available -2010/11/28. Both `myfilist.sty' and `readprov.sty' were v0.3. - -2011/01/30 uses a fix of `makedoc.sty' and the new `texlinks.sty' for -documentation. `myfilist.sty' v0.3a has 2 lines less than v0.3 and an -updated copyright, `readprov.sty' didn't change. The .tds gets a -`source' directory. - -For r0.3b 2012/03/18, we write "elegantly" in place of "elegant" in -`readprov.sty' v0.3a and update its copyright. We also hardwrap the -present file (2012/03/16). Resuming work 2012/03/18, we use -\MakeCloseDoc* from `makedoc.sty' v0.5 in `myfilist.tex' and -`readprov.tex', add TDS-info to README, remove outdated `makedoc.cfg', -and move `gather.tex' to `docsrc'. - -r0.4 (2012/05/26) provides `myfilist.sty' v0.4 that allows reentering -a package after \EmptyFileList, even when it has been loaded with an -option before; mainly for the `nicefilelist' package: - - \RequirePackage[r]{nicefilelist} - \RequirePackage{myfilist} - \EmptyFileList[nicefilelist.sty] - -r0.5 (2012/10/11) provided `myfilist.sty' v0.6 with a trick -\FileListRemark to insert "comments" in the file list, a hook -\ListGenerator to support `adhocfilelist', and -\NoBottomLines to suppress final messages, -also issued by the new package option [no-bot] - -But moreover, it provided `myfilist.sty' v0.5 as of 2012/09/27 -which I failed to upload. v0.5 brought \ReadListFileInfos, -\WriteFileList, \ReadListFileInfos, and \UseFindUtility for -the `adhocfilelist' package, or something else like that. -I had thought that \WriteFileList could be useful, and it -could perhaps with the -i option of `adhocfilelist'. -r0.5 did announce `v0.5' literally, but described v0.6. -Good that it hasn't been processed ... - -r0.6 (2012/10/12) corrects this, i.e., the present file is -corrected and updated, and the announcement is corrected. -And `myfilist' v0.6a is provided where \UseFindUtility is -added to the version history. Moreover, `readprov.pdf' has -been typeset anew just to apply changes in `nicetext' and -to avoid worrying in the future when I would not remember -the problem (.aux files need to be removed, that's it). --- Actually, I have modified `gather.tex' finally in order -to have the *.sty's and `fileinfo.RLS' in adjacent lines. - -r0.7 (2012/10/25) adds \NoStopListInfos in `myfilist.sty' v0.7 -so the script (`gather.tex') can continue with `filedate' -consistency checks and their messages are the last lines -you see on screen. - diff --git a/Master/texmf-dist/doc/latex/fileinfo/RELEASEs.txt b/Master/texmf-dist/doc/latex/fileinfo/RELEASEs.txt new file mode 100644 index 00000000000..2f306f38bb5 --- /dev/null +++ b/Master/texmf-dist/doc/latex/fileinfo/RELEASEs.txt @@ -0,0 +1,65 @@ + +First upload of the `fileinfo' bundle to CTAN probably was 2010/11/27, +followed by tries at encoding the README, so README.pdf was available +2010/11/28. Both `myfilist.sty' and `readprov.sty' were v0.3. + +2011/01/30 uses a fix of `makedoc.sty' and the new `texlinks.sty' for +documentation. `myfilist.sty' v0.3a has 2 lines less than v0.3 and an +updated copyright, `readprov.sty' didn't change. The .tds gets a +`source' directory. + +For r0.3b 2012/03/18, we write "elegantly" in place of "elegant" in +`readprov.sty' v0.3a and update its copyright. We also hardwrap the +present file (2012/03/16). Resuming work 2012/03/18, we use +\MakeCloseDoc* from `makedoc.sty' v0.5 in `myfilist.tex' and +`readprov.tex', add TDS-info to README, remove outdated `makedoc.cfg', +and move `gather.tex' to `docsrc'. + +r0.4 (2012/05/26) provides `myfilist.sty' v0.4 that allows reentering +a package after \EmptyFileList, even when it has been loaded with an +option before; mainly for the `nicefilelist' package: + + \RequirePackage[r]{nicefilelist} + \RequirePackage{myfilist} + \EmptyFileList[nicefilelist.sty] + +r0.5 (2012/10/11) provided `myfilist.sty' v0.6 with a trick +\FileListRemark to insert "comments" in the file list, a hook +\ListGenerator to support `adhocfilelist', and +\NoBottomLines to suppress final messages, +also issued by the new package option [no-bot] + +But moreover, it provided `myfilist.sty' v0.5 as of 2012/09/27 +which I failed to upload. v0.5 brought \ReadListFileInfos, +\WriteFileList, \ReadListFileInfos, and \UseFindUtility for +the `adhocfilelist' package, or something else like that. +I had thought that \WriteFileList could be useful, and it +could perhaps with the -i option of `adhocfilelist'. +r0.5 did announce `v0.5' literally, but described v0.6. +Good that it hasn't been processed ... + +r0.6 (2012/10/12) corrects this, i.e., the present file is +corrected and updated, and the announcement is corrected. +And `myfilist' v0.6a is provided where \UseFindUtility is +added to the version history. Moreover, `readprov.pdf' has +been typeset anew just to apply changes in `nicetext' and +to avoid worrying in the future when I would not remember +the problem (.aux files need to be removed, that's it). +-- Actually, I have modified `gather.tex' finally in order +to have the *.sty's and `fileinfo.RLS' in adjacent lines. + +r0.7 (2012/10/25) adds \NoStopListInfos in `myfilist.sty' v0.7 +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/SrcFILEs.txt b/Master/texmf-dist/doc/latex/fileinfo/SrcFILEs.txt new file mode 100644 index 00000000000..b00d3f4728d --- /dev/null +++ b/Master/texmf-dist/doc/latex/fileinfo/SrcFILEs.txt @@ -0,0 +1,23 @@ + + *File List* +-RELEASE.--- ---------- +fileinfo.RLS 2012/11/13 r0.8a readprov v0.4 sensible of \FileDateAutoChecks +-----USE.--- ---------- +myfilist.sty 2012/10/25 v0.7 \listfiles -- mine only (UL) +readprov.sty 2012/11/11 v0.4 file infos without loading (UL) +-----DOC.--- ---------- +myfilist.tex 2012/11/13 documenting myfilist.sty +readprov.tex 2012/11/12 documenting readprov.sty +----USED.--- ---------- + 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) + 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/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 Binary files a/Master/texmf-dist/doc/latex/fileinfo/myfilist.pdf and b/Master/texmf-dist/doc/latex/fileinfo/myfilist.pdf 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 Binary files a/Master/texmf-dist/doc/latex/fileinfo/readprov.pdf and b/Master/texmf-dist/doc/latex/fileinfo/readprov.pdf 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{}| 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{}| 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) -- cgit v1.2.3