From 76ac46d640d76b5fa9661395728aef7a7dd35f93 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 23 Nov 2012 22:45:29 +0000 Subject: fileinfo (23nov12) git-svn-id: svn://tug.org/texlive/trunk@28344 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/latex/fileinfo/gather.tex | 9 ++-- .../texmf-dist/source/latex/fileinfo/myfilist.tex | 55 +++++++++++++--------- .../texmf-dist/source/latex/fileinfo/readprov.tex | 52 ++++++++++---------- 3 files changed, 63 insertions(+), 53 deletions(-) (limited to 'Master/texmf-dist/source/latex/fileinfo') 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[]' from here can also be used + to \emph{with} typesetting in order to get `\listfiles' output + in a separate plain text 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 -- cgit v1.2.3