summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/fileinfo
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 /Master/texmf-dist/tex/latex/fileinfo
parent5909d32861c0b70ab3db6533b76d04334d3b1674 (diff)
fileinfo (13nov12)
git-svn-id: svn://tug.org/texlive/trunk@28252 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/fileinfo')
-rw-r--r--Master/texmf-dist/tex/latex/fileinfo/fileinfo.RLS9
-rw-r--r--Master/texmf-dist/tex/latex/fileinfo/readprov.sty34
2 files changed, 21 insertions, 22 deletions
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)