summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-11-23 22:45:29 +0000
committerKarl Berry <karl@freefriends.org>2012-11-23 22:45:29 +0000
commit76ac46d640d76b5fa9661395728aef7a7dd35f93 (patch)
treede16ff8bfed358f2fd149c90c935fb52aa0958c4 /Master
parent1bcc012dc9ee137c9349ef3925bd98c933567a33 (diff)
fileinfo (23nov12)
git-svn-id: svn://tug.org/texlive/trunk@28344 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/fileinfo/RELEASEs.txt30
-rw-r--r--Master/texmf-dist/doc/latex/fileinfo/SrcFILEs.txt16
-rw-r--r--Master/texmf-dist/doc/latex/fileinfo/myfilist.pdfbin507628 -> 558941 bytes
-rw-r--r--Master/texmf-dist/doc/latex/fileinfo/readprov.pdfbin486548 -> 489210 bytes
-rw-r--r--Master/texmf-dist/source/latex/fileinfo/gather.tex9
-rw-r--r--Master/texmf-dist/source/latex/fileinfo/myfilist.tex55
-rw-r--r--Master/texmf-dist/source/latex/fileinfo/readprov.tex52
-rw-r--r--Master/texmf-dist/tex/latex/fileinfo/fileinfo.RLS1
-rw-r--r--Master/texmf-dist/tex/latex/fileinfo/myfilist.sty15
-rw-r--r--Master/texmf-dist/tex/latex/fileinfo/readprov.sty18
10 files changed, 129 insertions, 67 deletions
diff --git a/Master/texmf-dist/doc/latex/fileinfo/RELEASEs.txt b/Master/texmf-dist/doc/latex/fileinfo/RELEASEs.txt
index 2f306f38bb5..eaa44f87357 100644
--- a/Master/texmf-dist/doc/latex/fileinfo/RELEASEs.txt
+++ b/Master/texmf-dist/doc/latex/fileinfo/RELEASEs.txt
@@ -63,3 +63,33 @@ r0.8a (2012/11/13)
`fdatechk.tex' (see `Example' in `myfilist.pdf'),
`myfilist.tex', and `readprov.tex', supported by new
`makedoc.cfg' from `nicetext'.
+
+r0.81 (2012/11/22):
+
+ * `myfilist.sty' v0.71 has a reimplementation of
+ \FileListRemark that works with `filedate.sty''s
+ \FileDateAutoChecks.
+
+ * This is exemplified in `gather.tex' that generates the
+ list of LaTeX source files in the `fileinfo' bundle.
+
+ * `readprov.sty' v0.5 provides \ReadShInfos to process
+
+ # \ProvidesFile{<file>}[<info>]
+
+ in shell script files <file>. This is exemplified in a
+ parallel upload of the shell script package
+ `adhocfilelist'.
+
+ * The documentation inside both `.sty' files as well as
+ some settings in the documentation generators
+ `myfilist.tex' and `readprov.tex' have some adjustments/
+ corrections.
+
+ * While `myfilist' originally was made for use /without/
+ typesetting (with "TeX scripts"), the documentation now
+ notes that `\ListFileInfos[<txt-file>]' can also be used
+ /with/ typesetting in order to get \listfiles output
+ in a separate plain text file `<txt-file>' (/without/
+ remaining `.log' content).
+
diff --git a/Master/texmf-dist/doc/latex/fileinfo/SrcFILEs.txt b/Master/texmf-dist/doc/latex/fileinfo/SrcFILEs.txt
index b00d3f4728d..f097a976dcf 100644
--- a/Master/texmf-dist/doc/latex/fileinfo/SrcFILEs.txt
+++ b/Master/texmf-dist/doc/latex/fileinfo/SrcFILEs.txt
@@ -1,23 +1,23 @@
*File List*
-RELEASE.--- ----------
-fileinfo.RLS 2012/11/13 r0.8a readprov v0.4 sensible of \FileDateAutoChecks
+fileinfo.RLS 2012/11/22 r0.81 \FileDateAutoChecks, \ReadShInfos
-----USE.--- ----------
-myfilist.sty 2012/10/25 v0.7 \listfiles -- mine only (UL)
-readprov.sty 2012/11/11 v0.4 file infos without loading (UL)
+myfilist.sty 2012/11/22 v0.71 \listfiles -- mine only (UL)
+readprov.sty 2012/11/22 v0.5 file infos without loading (UL)
-----DOC.--- ----------
-myfilist.tex 2012/11/13 documenting myfilist.sty
-readprov.tex 2012/11/12 documenting readprov.sty
+myfilist.tex 2012/11/22 documenting myfilist.sty
+readprov.tex 2012/11/22 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)
+fifinddo.sty 2012/11/17 v0.61 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
+ gather.tex 2012/11/22 collect file infos
***********
- List made at 2012/11/13, 15:19
+ List made at 2012/11/22, 15:37
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 4a8400bf1d9..c53a020a0e0 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 69353f267c1..5cc931521e3 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/gather.tex b/Master/texmf-dist/source/latex/fileinfo/gather.tex
index bc8126759ac..2cdbd9f23c6 100644
--- a/Master/texmf-dist/source/latex/fileinfo/gather.tex
+++ b/Master/texmf-dist/source/latex/fileinfo/gather.tex
@@ -1,8 +1,7 @@
-\ProvidesFile{gather.tex}[2012/11/13 collect file infos]
+\ProvidesFile{gather.tex}[2012/11/22 collect file infos]
\RequirePackage[no-bot]{myfilist}
\RequirePackage{dowith,filedate}
-% \EqualityMessages \FileDateAutoChecks
-%% <- OK except with \FileListRemark TODO 2012/11/11
+\EqualityMessages \FileDateAutoChecks %% works 2012/11/22
\EmptyFileList[readprov.sty,myfilist.sty]
\FileListRemark[----------]{-RELEASE.---}
\ReadFileInfos{fileinfo.RLS}
@@ -15,5 +14,7 @@
\ReadPackageInfos{fifinddo,makedoc,niceverb}
\ReadFileInfos{README,fdatechk,gather}
\NoStopListInfos[SrcFILEs.txt]
-\input{fdatechk.tex}
+% \input{fdatechk.tex}
+%% <- 2012/11/22 ->
+\DatesDiffWarnings \CheckDateOfToday{fileinfo.RLS}
\stop
diff --git a/Master/texmf-dist/source/latex/fileinfo/myfilist.tex b/Master/texmf-dist/source/latex/fileinfo/myfilist.tex
index 816b592ac53..477b29bd181 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/11/13 documenting myfilist.sty]
+\ProvidesFile{myfilist.tex}[2012/11/22 documenting myfilist.sty]
\title{\textsf{myfilist}\\---\\
List Infos on just the Files\\You Want to Know About%
\GetFileInfo{myfilist.sty}\thanks{%
@@ -15,7 +15,7 @@
\SetPatternCodes{\MakeOther\\\MakeOther\ } %% CARE!
\MakeExpandableAllReplacer{TeX}{TeX }{\TeX{} }{LEAVE} %% 2012/09/28
% \let\do\PrependExpandableAllReplacer %% 2012/09/28
-\newcommand*{\do}{\PrependExpandableAllReplacer*} %% 2012/10/11
+\renewcommand*{\do}{\PrependExpandableAllReplacer*} %% re 2012/11/22
\do{LaTeX }{\LaTeX{} }
\do{LaTeX2e }{\LaTeXe{} }
\do{ .log}{ `.log'}
@@ -63,7 +63,9 @@
\usepackage{wiki}
%% TeX markup inserted by the txt-to-TeX function must be
%% declared here for using 'niceverb''s ``auto mode.''
-\AddToNoVerbList{\LaTeXe\dots\textbf\emph
+\AddToNoVerbList{\LaTeXe\dots\textbf\emph\
+ %% <- at end of line! 2012/11/22 TODO not working!?!
+ \\ %% 2012/11/22
\TeX\LaTeX} %% 2012/09/28
\begingroup \MakeActive\"
\gdef\fineDQ{``\begingroup
@@ -92,28 +94,21 @@
Differences to 'dateiliste' and \LaTeX\ are:
\begin{enumerate}
\item You choose the files (and their order) to be listed;
- \item indeed: this has very little to do with files used in
+ \item indeed (according to original intention):
+ this has very little to do with files used in
typesetting some document;
\item output is just screen, `.log', or a `.txt'-type file
that you choose.
\end{enumerate}
+ %% 2012/11/22 while mentioning 'nicetext' moves to final section:
+ However, `\ListFileInfos[<txt-file>]' from here can also be used
+ to \emph{with} typesetting in order to get `\listfiles' output
+ in a separate plain text file `<txt-file>'
+ (\emph{without} remaining `.log' content).
- The code of this package was ready in spring 2008;
- in spring 2010 I presented it as a kind of study on improving
- 'nicetext''s\urlfoot{CtanPkgRef}{nicetext}
- `txt'-to-\LaTeX\ processing after 'nicetext v0.4'
- (aim was to do this without modifying the documented file,
- yet I did not obey this ruly strictly here).
- The new idea is adding 'wiki.sty''s ``environments''
- feature to 'makedoc' and 'niceverb''s ``auto mode"
- in order to interprete `txt' comment indents in the package file,
- while 'wiki.sty''s \emph{font} switching
- still is not compatible with 'niceverb''s. Easy script
- commands for achieving this are still missing (sorry; see the code
- in 'myfilist.tex' that achieved the present formatting.)
\end{abstract}
-\pagebreak
+% \pagebreak
\tableofcontents
\section{Installing}
@@ -124,9 +119,11 @@ putting it somewhere where \TeX\ finds it
\section{File Info Header}
\sloppy
-\enlargethispage{.5\baselineskip} %% 2012/10/12
-\wikiEnvironments %% TODO fails with "or" 2010/03/31
-\MakeActiveLetHere\"\fineDQ %% fails with "loads"
+\let\\\MDdocnewline %% 2012/11/22
+\setlength\topsep{\smallskipamount} %% 2012/11/22
+\enlargethispage{2\baselineskip} %% 2012/11/22
+\wikiEnvironments %% TODO fails with "or" 2010/03/31
+\MakeActiveLetHere\"\fineDQ %% fails with "loads"
\AutoCmdInput{myfilist.doc}
\nowikiEnvironments
@@ -149,4 +146,20 @@ to generate the documentation file `myfilist.pdf'.
As to `fdatechk.tex':
\MDsamplecodeinput{fdatechk}
+\section{Relation to 'nicetext' bundle.}
+%% 2012/11/22 moves from abstract
+The code of this package was ready in spring 2008;
+in spring 2010 I presented it as a kind of study on improving
+'nicetext''s\urlfoot{CtanPkgRef}{nicetext}
+`txt'-to-\LaTeX\ processing after 'nicetext v0.4'
+(aim was to do this without modifying the documented file,
+ yet I did not obey this rule strictly here).
+The new idea is adding 'wiki.sty''s ``environments''
+feature to 'makedoc' and 'niceverb''s ``auto mode'' %% was " 2012/11/22
+in order to interprete `txt' comment indents in the package file,
+while 'wiki.sty''s \emph{font} switching
+still is not compatible with 'niceverb''s. Easy script
+commands for achieving this are still missing (sorry; see the code
+in 'myfilist.tex' that achieved the present formatting.)
+
\end{document}
diff --git a/Master/texmf-dist/source/latex/fileinfo/readprov.tex b/Master/texmf-dist/source/latex/fileinfo/readprov.tex
index 130599d5011..1ee52288a7c 100644
--- a/Master/texmf-dist/source/latex/fileinfo/readprov.tex
+++ b/Master/texmf-dist/source/latex/fileinfo/readprov.tex
@@ -1,4 +1,4 @@
-\ProvidesFile{readprov.tex}[2012/11/12 documenting readprov.sty]
+\ProvidesFile{readprov.tex}[2012/11/22 documenting readprov.sty]
% \ProvidesFile{readprov.tex}[2012/03/18 documenting readprov.sty]
% \ProvidesFile{readprov.tex}[2011/01/29 documenting readprov.sty]
@@ -23,37 +23,33 @@
\StartPrependingChain
\SetPatternCodes{\MakeOther\\\MakeOther\ } %% CARE!
% \PrependExpandableAllReplacer{tex}{ .tex}{ `.tex'}
-\PrependExpandableAllReplacer{sty}{ .sty}{ `.sty'}
-\PrependExpandableAllReplacer{cls}{.cls}{`.cls'}
-\PrependExpandableAllReplacer{etc}{etc. }{etc.\ }
+\renewcommand*{\do}{\PrependExpandableAllReplacer} %% 2012/11/22
+\do{sty}{ .sty}{ `.sty'}
+\do{cls}{.cls}{`.cls'}
+\do{etc}{etc. }{etc.\ }
% \PrependExpandableAllReplacer{etc...}{etc. ...}{etc.\ $\dots$}
\SetPatternCodes{\MakeOther\\} %% less care needed
-\PrependExpandableAllReplacer{LaTeX}{LaTeX}{\LaTeX}
-\PrependExpandableAllReplacer{xpbl}{expandable}{\emph{expandable}}
-\PrependExpandableAllReplacer{rob}{robust}{\emph{robust}}
-\PrependExpandableAllReplacer{frag}{fragile}{\emph{fragile}}
-\PrependExpandableAllReplacer{doc}{doc.sty}{'doc.sty'}
-\PrependExpandableAllReplacer{myfilist}{myfilist.sty}{'myfilist.sty'}
-\PrependExpandableAllReplacer{readprov}{readprov.sty}{'readprov.sty'}
-\PrependExpandableAllReplacer{provf}{\ProvidesFile}{`\ProvidesFile'}
-\PrependExpandableAllReplacer{NOTE}{NOTE:}{\paragraph{Note:}}
+\do{LaTeX}{LaTeX}{\LaTeX}
+\do{xpbl}{expandable}{\emph{expandable}}
+\do{rob}{robust}{\emph{robust}}
+\do{frag}{fragile}{\emph{fragile}}
+\do{doc}{doc.sty}{'doc.sty'}
+\do{myfilist}{myfilist.sty}{'myfilist.sty'}
+\do{readprov}{readprov.sty}{'readprov.sty'}
+% \do{provf}{\ProvidesFile}{`\ProvidesFile'} %% rm. 2012/11/22
+\do{NOTE}{NOTE:}{\paragraph{Note:}}
% \PrependExpandableAllReplacer{Note}{Note:}{\emph{Note:} }
-\PrependExpandableAllReplacer{prov}{provided}{\emph{provided}}
-\PrependExpandableAllReplacer{*fail*}{*fail*}{\emph{fail}}
-\PrependExpandableAllReplacer{INSTALL}{INSTALL:}{\section{Installation}}
-\PrependExpandableAllReplacer{USAGE}{USAGE:}{\section{Usage}}
-\PrependExpandableAllReplacer{IMPLEM}
- {IMPLEMENTATION:}{\section{Implementation}}
-\PrependExpandableAllReplacer{LOAD}{LOADING:}
- {\paragraph{Loading:}}
-\PrependExpandableAllReplacer{INS}{INSERTING:}
- {\paragraph{Inserting:}}
-\PrependExpandableAllReplacer{READ}{EXTRACTING:}
- {\paragraph{Extracting:}}
-\PrependExpandableAllReplacer{TODO}{TODO}
- {\textcolor{blue}{TODO}}
+\do{prov}{provided}{\emph{provided}}
+\do{*fail*}{*fail*}{\emph{fail}}
+\do{INSTALL}{INSTALL:}{\section{Installation}}
+\do{USAGE}{USAGE:}{\section{Usage}}
+\do{IMPLEM}{IMPLEMENTATION:}{\section{Implementation}}
+\do{LOAD}{LOADING:}{\paragraph{Loading:}}
+\do{INS}{INSERTING:}{\paragraph{Inserting:}}
+\do{READ}{EXTRACTING:}{\paragraph{Extracting:}}
+\do{TODO}{TODO}{\textcolor{blue}{TODO}}
\SetPatternCodes{\MakeOther\\\MakeOther\$}
-\PrependExpandableAllReplacer{dots}{...}{$\dots$}
+\do{dots}{...}{$\dots$}
\SetCorrectHookJobLast
\ResetPatternCodes
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