diff options
author | Karl Berry <karl@freefriends.org> | 2012-11-22 00:51:36 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-11-22 00:51:36 +0000 |
commit | 7091f02f114d34ab2164074d16106b9e9b4e8bb4 (patch) | |
tree | b7015b4d037854b112819fafcd5679d8d5cc68c9 /Master/texmf-dist/source | |
parent | ac225c92964fc1f94322e26a4edc729528882bcb (diff) |
adhocfilelist (21nov12)
git-svn-id: svn://tug.org/texlive/trunk@28326 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r-- | Master/texmf-dist/source/adhocfilelist/srcfiles.tex | 29 | ||||
-rw-r--r-- | Master/texmf-dist/source/support/adhocfilelist/adhocfilelist.tex (renamed from Master/texmf-dist/source/adhocfilelist/adhocfilelist.tex) | 8 | ||||
-rw-r--r-- | Master/texmf-dist/source/support/adhocfilelist/fdatechk.tex | 13 | ||||
-rw-r--r-- | Master/texmf-dist/source/support/adhocfilelist/makehtml.tex | 24 | ||||
-rw-r--r-- | Master/texmf-dist/source/support/adhocfilelist/srcfiles.tex | 19 | ||||
-rw-r--r-- | Master/texmf-dist/source/support/adhocfilelist/texblog.fdf (renamed from Master/texmf-dist/source/adhocfilelist/texblog.fdf) | 58 |
6 files changed, 94 insertions, 57 deletions
diff --git a/Master/texmf-dist/source/adhocfilelist/srcfiles.tex b/Master/texmf-dist/source/adhocfilelist/srcfiles.tex deleted file mode 100644 index 5922cf08d95..00000000000 --- a/Master/texmf-dist/source/adhocfilelist/srcfiles.tex +++ /dev/null @@ -1,29 +0,0 @@ -\ProvidesFile{srcfiles.tex}[2012/10/19 file infos -> SrcFILEs.txt] -\RequirePackage[r]{nicefilelist} -\RequirePackage{filedate} -\MFfieldtemplate{f-base}{adhocfilelist} -\RequirePackage{myfilist} -\EmptyFileList %%% [readprov.sty,myfilist.sty] -%% script: -\catcode`\#=9 \catcode`\!=14 -\ReadFileInfos{adhocfilelist.sh} -%% documentation: -\ReadFileInfos{adhocfilelist} -%% documentation settings and auxiliaries: -%% nicetext not used! -\ReadFileInfos{makehtml} -\ReadFileInfos{srcfiles} -\FileListRemark[ ---- ]{RELEASE.---} -\ReadFileInfos{adhocfilelist.RLS} -\FileListRemark[ ---- ]{HTML_packages.---} -\ReadPackageInfos{blog,blogexec,domore,fifinddo} -\ReadFileInfos{texblog.fdf} -\EqualityMessages -\CheckDateOfPDFmod{adhocfilelist.sh} -\CheckDateOfPDFmod{adhocfilelist.tex} -\CheckDateOfPDFmod{makehtml.tex} -\CheckDateOfPDFmod{srcfiles.tex} -\DatesDiffNotices %% 2012/10/19 -\CheckDateOfPDFmod{adhocfilelist.RLS} %% 2012/10/19 -\ListInfos[SrcFILEs.txt] - diff --git a/Master/texmf-dist/source/adhocfilelist/adhocfilelist.tex b/Master/texmf-dist/source/support/adhocfilelist/adhocfilelist.tex index 08178855122..4cee4cc8f80 100644 --- a/Master/texmf-dist/source/adhocfilelist/adhocfilelist.tex +++ b/Master/texmf-dist/source/support/adhocfilelist/adhocfilelist.tex @@ -1,4 +1,4 @@ -\ProvidesFile{adhocfilelist.tex}[2012/10/17 documenting adhocfilelist (UL)] +\ProvidesFile{adhocfilelist.tex}[2012/11/19 documenting adhocfilelist (UL)] \head \charset{ISO-8859-1} %%% {utf-8} \texrobots \title{List LaTeX file infos according to command line} @@ -131,7 +131,8 @@ The three parts are as follows: has outer single quotes, such as \begin{quote} \EXECUTE{\MakeOther\'} - \code{'-follow ( -name \cs{*}.tex -o -name \cs{*}.sty )'} + \code{'-L ( -name \cs{*}.tex -o -name \cs{*}.sty )'} + %% <- follow -> L 2012/11/19 \end{quote} \optmetaitem{F}{find-file} \fmode\ Add content of the \strong{file} \metavar{find-file} to other \strong{\find} criteria. @@ -289,7 +290,8 @@ what a "\ancref{my-script}{\pkg{myfilist} script}" is. \ditem{\metavar{prefix}\lineanc{back-f-prefix}} is \begin{quote} - \code{-follow -maxdepth 1 ( -name \cs{*}.tex -o }\metacode{more}\code{ )} + \code{-L -maxdepth 1 ( -name \cs{*}.tex -o }\metacode{more}\code{ )} + %% <- follow -> L 2012/11/19 \end{quote} where \metavar{more} in addition to files with extension \ext{tex} allows those with extensions \ext{sty}, \ext{cfg}, \ext{cls}, \ext{dtx}, diff --git a/Master/texmf-dist/source/support/adhocfilelist/fdatechk.tex b/Master/texmf-dist/source/support/adhocfilelist/fdatechk.tex new file mode 100644 index 00000000000..75841ba67d1 --- /dev/null +++ b/Master/texmf-dist/source/support/adhocfilelist/fdatechk.tex @@ -0,0 +1,13 @@ +\ProvidesFile{fdatechk.tex}[2012/11/20 `filedate' checks] +{\catcode`\#=9 \catcode`\!=14 %% { for plainpkg + \ReadFileInfos{adhocfilelist.sh,herelist.sh}} +\RequirePackage{filedate} +\ModDates +\UseReferenceDate{\thepdfmoddate} +\DoWithAllOf{\CheckDateOfGiven}{% + {adhocfilelist.RLS} + {adhocfilelist.sh}{herelist.sh} + {adhocfilelist.tex} + {makehtml.tex}{fdatechk.tex}{srcfiles.tex}} +\CheckDateOfToday{adhocfilelist.RLS} + diff --git a/Master/texmf-dist/source/support/adhocfilelist/makehtml.tex b/Master/texmf-dist/source/support/adhocfilelist/makehtml.tex new file mode 100644 index 00000000000..7b527d4e997 --- /dev/null +++ b/Master/texmf-dist/source/support/adhocfilelist/makehtml.tex @@ -0,0 +1,24 @@ +\ProvidesFile{makehtml.tex}[2012/11/20 HTML driver] +\RequirePackage[r]{nicefilelist} %% [r] 2012/11/19 +\MFfieldtemplate{f-base}{adhocfilelist} %% 2012/10/19 +\RequirePackage{myfilist} +\RequirePackage{blog}[2012/09/17] +\BlogInterceptEnvironments +\RequirePackage{texlinks} +\RequirePackage{catchdq,langcode} +\input{atari_ht.fdf} +\input{texblog.fdf} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\def\htmljob{adhocfilelist} +\ResultFile{adhocfilelist.htm} +\BlogProcessFinalFile[\TextCodes\catchdqs] + {\htmljob.tex} +%% 2012/10/19: +\ReadFileInfos{makehtml} +\ReadFileInfos{\htmljob.tex} %% TODO blogexec 2012/10/19 +{\CatCode\#=9 \CatCode\!=14 + \ReadFileInfos{\htmljob.sh}} +\ReadFileInfos{srcfiles,\htmljob.RLS} +\input{fdatechk} +\ListInfos[AllSRCes.txt] %% [...] 2012/11/20 +\stop diff --git a/Master/texmf-dist/source/support/adhocfilelist/srcfiles.tex b/Master/texmf-dist/source/support/adhocfilelist/srcfiles.tex new file mode 100644 index 00000000000..334244f8d8a --- /dev/null +++ b/Master/texmf-dist/source/support/adhocfilelist/srcfiles.tex @@ -0,0 +1,19 @@ +\ProvidesFile{srcfiles.tex}[2012/11/20 file infos -> SrcFILEs.txt] +\RequirePackage{dowith} +\RequirePackage[r]{nicefilelist} +\MaxBaseEmptyList{adhocfilelist} +%% shell scripts: +{\catcode`\#=9 \catcode`\!=14 %% { for plainpkg + \ReadFileInfos{adhocfilelist.sh,herelist.sh}} +%% documentation: +\ReadFileInfos{adhocfilelist} +%% TeX scripts: +\ReadFileInfos{makehtml,fdatechk,srcfiles} +\FileListRemark[ ---- ]{----RELEASE.---} +\ReadFileInfos{adhocfilelist.RLS} +\FileListRemark[ ---- ]{HTML_packages.---} +\ReadPackageInfos{blog,blogexec,domore,fifinddo} +\ReadFileInfos{texblog.fdf} +\NoStopListInfos[SrcFILEs.txt] +\input{fdatechk} +\stop diff --git a/Master/texmf-dist/source/adhocfilelist/texblog.fdf b/Master/texmf-dist/source/support/adhocfilelist/texblog.fdf index 110ba35dbb2..ed3c2ae907a 100644 --- a/Master/texmf-dist/source/adhocfilelist/texblog.fdf +++ b/Master/texmf-dist/source/support/adhocfilelist/texblog.fdf @@ -1,4 +1,4 @@ -\ProvidesFile{texblog.fdf}[2012/10/06 extra blog settings] +\ProvidesFile{texblog.fdf}[2012/11/20 (11/15) extra blog settings] %% %% macros I use for my note pages %% -- Uwe Lueck, www.contact-ednotes.sty.de.vu @@ -165,7 +165,9 @@ \nextview{#1}\hrule\hanc{#1}{}} \newcommand*{\NRV}{\nextruleview} %% 2011/03/15 %% Diary date sections: -\newcommand*{\datepar}[1]{% +% \newcommand*{\datepar}[1]{% +%% <- 2012/10/24 -> +\newcommand*{\Datepar}[2]{% % \endgraf\hanc{#1}{\latexdatepar#1\latexdatepar}}%% 2011/08/12: % \vspace{3} %%% 2011/08/16 \\% \vspace{12} %% 2012/09/13 @@ -173,8 +175,12 @@ % \heading4{% \lineanc{\isodateplus#1\isodateplus}% \lineanc{#1}% - \heading4{\isodateplus#1\isodateplus}} + %% mod. 2012/10/24: + \heading4{\noligs{\isodateplus#1\isodateplus + \ifx\@nnil#2\@nnil\else + \pardash\ParseLigs{#2}\fi}}} % \isodateplus#1\isodateplus}} +\newcommand*{\datepar}[1]{\Datepar{#1}{}} %% #5 allows modifications like time, `b', `f.': % \def\latexdatepar#1/#2/#3#4#5\latexdatepar{% % \endgraf\heading4{#1-#2-#3#4#5}} @@ -198,6 +204,9 @@ \nextview{kw#1}\hrule \hanc{kw#1}{\SimpleTagSurr{big}{KW#1}}% } +%% 2012/10/26: +\newcommand*{\zeitref}[2]{\ancref{#1-#2}{#2}} +\newcommand*{\zeitanc}[2]{\hanc{#1-#2}{#2}} %% 2011/08/18 [private - 2011/08/26]: \newcommand*{\geldpref}{\ancref{geld}{\euro}} \newcommand*{\jobspref}{\autref{jobs}} @@ -318,6 +327,23 @@ \newcommand*{\siehewiki}[1]{% %% 2011/05/06 \to\wikideref{#1}{\textit{Wikipedia}}} \newcommand*{\Wref}[1]{\wikiref{#1}{Wikipedia}} %% 2012/01/19 +\renewcommand*{\Wikilangref}[2]{% %% 2012/10/26f. + \@wikilpref{#1}#2\BiteSep|\@nnil\BiteSep\@nil{#2}} %% {#1} 2012/11/08 +%% TODO neues bitelist! +\def\@wikilpref#1#2|#3\BiteSep#4\@nil#5{% + \ifx\@nnil#3\@empty + \wikilangref{#1}{#5}{#5}% + \else + \wikilangref{#1}{#2}{% + \ifx\@three#3\@three %% 2012/10/27 + \wiki@noparen#2\@nil% + \else + #3% + \fi + }% + \fi} +\def\wiki@noparen#1 (#2\@nil{#1} +%% <- TODO -> `texlinks' 2012/11/15 %% 2011/11/23, 2012/01/06, 2012/03/11: \newcommand*{\wiktionarylangref}[1]{% \httpbaseref{#1.wiktionary.org/wiki}} @@ -335,9 +361,9 @@ \newcommand*{\wikiquotelangref}[1]{% \httpbaseref{#1.wikiquote.org/wiki}} \newcommand*{\Wikquenref}[1]{\wikiquotelangref{en}{#1}{#1}} -%% Vertikalstrich in Wikilinks 2012/10/03 ... -%% bitelist TODO! -%% +%% 2012/11/15: +\newcommand*{\AAOwikiref}{% + \httpbaseref{vps8324694103.serverpool.info/aaowiki}} %% to do: \newcommand*{\wormsmusref}{% %% 2011/04/30, 2012/03/11 \httpbaseref{www.worms.de/deutsch/kultur/museen}} @@ -367,25 +393,7 @@ \newcommand*{\ctanpkgstyref}[1]{\CtanPkgRef{#1}{#1.sty}} \newcommand*{\THPR}{\texhaxpref} %% 2011/03/15 \newcommand*{\THpref}[1]{\texhaxpref{#1}{texhax}} %% 2011/03/24 -%% month page 2011/12/22, reworked for langcode 2012/01/17: -%% monthnames move to `langcode.sty' 2012/09/17 -\newcommand*{\texlistyearmonthref}[2]{\texlist@yearmonthref#1#2\@nil} -\def\texlist@yearmonthref#1#2-#3\@nil{#1{20#2-\enmonthname{#3}}} -\newcommand*{\texhaxyearmonthref}{\texlistyearmonthref\texhaxref} -\newcommand*{\ctanannyearmonthref}{\texlistyearmonthref\ctanannref} -\newcommand*{\texlanglistmonthref}[3]{\texlanglistm@nthref#1#2#3\@nil} -\def\texlanglistm@nthref#1#2#3-#4\@nil{% - #2{20#3-\enmonthname{#4}}{#1{#4}}} -\newcommand*{\detexlistmonthref}{\texlanglistmonthref\demonthname} -\newcommand*{\entexlistmonthref}{\texlanglistmonthref\enmonthname} -\newcommand*{\texlistmonthref} {\texlanglistmonthref\monthname} -% \newcommand*{\detexhaxmonthref} {\detexlistmonthref\texhaxref} -% \newcommand*{\entexhaxmonthref} {\entexlistmonthref\texhaxref} -\newcommand*{\texhaxmonthref} {\texlistmonthref\texhaxref} -% \newcommand*{\dectanannmonthref}{\detexlistmonthref\ctanannref} -% \newcommand*{\enctanannmonthref}{\entexlistmonthref\ctanannref} -\newcommand*{\ctanannmonthref} {\texlistmonthref\ctanannref} -%% <- TODO 2011/12/22 alle -> texlinks.sty +%% month names move to `texlinks.sty' 2012/10/24 \newcommand*{\TOPref}[1]{\bytopicref{#1}{JF\##1}} %% 2011/04/22 % \newcommand*{\todobytopic}[1]{% %% 2011/04/22, rm. 2011/11/08 % \myalert{\to\ \TOPref{#1}}} |