diff options
author | Karl Berry <karl@freefriends.org> | 2012-11-23 22:45:29 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-11-23 22:45:29 +0000 |
commit | 76ac46d640d76b5fa9661395728aef7a7dd35f93 (patch) | |
tree | de16ff8bfed358f2fd149c90c935fb52aa0958c4 /Master/texmf-dist/tex | |
parent | 1bcc012dc9ee137c9349ef3925bd98c933567a33 (diff) |
fileinfo (23nov12)
git-svn-id: svn://tug.org/texlive/trunk@28344 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/fileinfo/fileinfo.RLS | 1 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/fileinfo/myfilist.sty | 15 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/fileinfo/readprov.sty | 18 |
3 files changed, 28 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/fileinfo/fileinfo.RLS b/Master/texmf-dist/tex/latex/fileinfo/fileinfo.RLS index 5a781a942cf..e059bb9d9fe 100644 --- a/Master/texmf-dist/tex/latex/fileinfo/fileinfo.RLS +++ b/Master/texmf-dist/tex/latex/fileinfo/fileinfo.RLS @@ -1,4 +1,5 @@ \ProvidesFile{fileinfo.RLS} %% RELEASE INFO + [2012/11/22 r0.81 \string\FileDateAutoChecks, \string\ReadShInfos] [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] diff --git a/Master/texmf-dist/tex/latex/fileinfo/myfilist.sty b/Master/texmf-dist/tex/latex/fileinfo/myfilist.sty index 1e07fd149f8..c3fd202e328 100644 --- a/Master/texmf-dist/tex/latex/fileinfo/myfilist.sty +++ b/Master/texmf-dist/tex/latex/fileinfo/myfilist.sty @@ -3,7 +3,7 @@ %% modifies \listfiles to choose files to be listed and %% list them in a chosen file. -\def \fileversion {0.7} \def \filedate {2012/10/25} +\def \fileversion {0.71} \def \filedate {2012/11/22} %% copyright (C) 2008, 2010, 2011, 2012 Uwe Lueck, %% http://www.contact-ednotes.sty.de.vu @@ -224,7 +224,7 @@ \UseFindUtility\ReadListFileInfos} % v0.6: % -% |\FileListRemark[<info>]{<filename>}| \ +% |\FileListRemark[<info>]{<filename>}|\\ % writes and reads a dummy file <filename> with \Provides... % content <info> which is empty by default: \newcommand*\FileListRemark[2][]{% @@ -232,7 +232,13 @@ \immediate\write\file@of@filelist{% \string\ProvidesFile{#2}[#1]}% \immediate\closeout\file@of@filelist - \ReadFileInfos{#2}} +% v0.71 allows using \FileListRemark with 'filedate''s +% \FileDateAutoChecks: + {\ifx\@providesfile\FD@provfile + \let\@pr@videpackage\FD@@provpkg + \let\@providesfile \FD@@provfile + \fi + \ReadFileInfos{#2}}} % % |\NoBottomLines| \newcommand*{\NoBottomLines}{% @@ -266,3 +272,6 @@ v0.6 2012/10/11 \FileListRemark, \ListGenerator, v0.6a 2012/10/12 adding \UseFindUtility and \FindReadListInfos in the history for v0.5 v0.7 2012/10/25 \NoStopListInfos +v0.71 2012/11/22 \FileListRemark works with \FileDateAutoChecks + from `readprov.sty' v0.5; + doc. \FileListRemark: `\ ' -> `\\' diff --git a/Master/texmf-dist/tex/latex/fileinfo/readprov.sty b/Master/texmf-dist/tex/latex/fileinfo/readprov.sty index fa229b60dd2..d9bf84252c8 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.4} \def \filedate {2012/11/11} +\def \fileversion {0.5} \def \filedate {2012/11/22} %% copyright (C) 2008, 2010, 2011, 2012 Uwe Lueck, %% http://www.contact-ednotes.sty.de.vu @@ -79,7 +79,13 @@ % and only for use with myfilist.sty. % But you can use \ReadFileInfos for reporting on \emph{various} % classes, even in a document! -% +% \\ +% |\ReadShInfos{<list-of-filenames>}| (with extensions)\\ +% is a variant of \ReadFileInfos{<list-of-filenames>} that for each +% <file> in <list-of-filenames> processes +% # \ProvidesFile{<file>}[<info>] +% in <file> (new with v0.5). +% % NOTE: (i)~So far, [TODO] the \Read... commands explained before % do not work after `\begin{document}' % (with rare exceptions, \NeedTeXFormat is one @@ -136,7 +142,7 @@ % `\@pkgextension' and `\@clsextension' are bad % for using `\filename' in the document (`\@onlypreamble'). % \\ -% |\ReadClassInfo{<filename>}| without extension: +% |\ReadClassInfo{<filename>}| without extension (v0.5): \newcommand*{\ReadClassInfo}{% \read@package@infos\LoadClass{cls}} % Before v0.4, the modified ultimate expansion of \@pr@videpackage @@ -173,6 +179,11 @@ \GetFileInfo\@gtempa %% 2010/11/26 } \def\read@no@spaces#1#2\@nil{#1#2} %% 2008/03/23 +% |\ReadShInfos{<list-of-filenames>}| with extensions: +\newcommand*{\ReadShInfos}[1]{% %% 2012/11/22 + {\catcode`\#9 % ignore .sh comment characters + \catcode`\!14 % ignore content of shebang line + \ReadFileInfos{#1}}} \endinput %% VERSION HISTORY @@ -191,3 +202,4 @@ 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) +v0.5 2012/11/22 \ReadShInfos |