summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/longnamefilelist
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2012-10-06 09:00:24 +0000
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2012-10-06 09:00:24 +0000
commitd98d400320f231c02f03a9a64f95d0163404dedd (patch)
tree7915ceff5f2973cf94e6e6f68a639ca253b699d7 /Master/texmf-dist/tex/latex/longnamefilelist
parent3bb2d4a58ff5587b590190befef2752aa069c110 (diff)
longnamefilelist update
git-svn-id: svn://tug.org/texlive/trunk@27889 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/longnamefilelist')
-rw-r--r--Master/texmf-dist/tex/latex/longnamefilelist/longnamefilelist.sty (renamed from Master/texmf-dist/tex/latex/longnamefilelist/lonaflst.sty)36
1 files changed, 33 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/longnamefilelist/lonaflst.sty b/Master/texmf-dist/tex/latex/longnamefilelist/longnamefilelist.sty
index 526081e87cf..e9615888f99 100644
--- a/Master/texmf-dist/tex/latex/longnamefilelist/lonaflst.sty
+++ b/Master/texmf-dist/tex/latex/longnamefilelist/longnamefilelist.sty
@@ -1,5 +1,5 @@
\NeedsTeXFormat{LaTeX2e}[1994/12/01]
-\ProvidesPackage{longnamefilelist}[2012/03/15 v0.1c
+\ProvidesPackage{longnamefilelist}[2012/09/30 v0.2
list files with long names (UL)]
%%
%% Copyright (C) 2012 Uwe Lueck,
@@ -19,6 +19,8 @@
%%
%% == Usage with 'myfilist' ==
%% \label{sec:myfilist}
+%% === Basically ===
+%% \label{sec:basic}
%% In order to get a reduced and/or rearranged list of used files
%% with the \ctanpkgref{myfilist} package,
%% `longnamefilelist.sty' must be loaded earlier than
@@ -46,6 +48,27 @@
%% \cs{ReadFileInfos}\{makedoc.cfg,mdoccorr.cfg,srcfiles\}
%% \cs{ListInfos}[SrcFILEs.txt]
%% \end{quotation}
+%%
+%% === Shorthand ===
+%% \label{sec:short}
+%% In the above example, the 'myfilist' command `\EmptyFileList'
+%% is missing---it is not intended there. Usually however,
+%% it \emph{is} intended, i.e., the following sequence of
+%% lines is wanted:
+%% \begin{quotation}\tt\small
+%% \expandafter\def\expandafter\{\expandafter{\string{}
+%% \expandafter\def\expandafter\}\expandafter{\string}}
+%% \obeyspaces\obeylines
+%% \cs{RequirePackage}\{longnamefilelist\}
+%% \cs{listfiles}[<digit><digit>]
+%% \cs{RequirePackage}\{myfilist\}
+%% \cs{EmptyFileList}[<read-again-files>]
+%% \end{quotation}
+%% With v0.2, the last three lines can be replaced by
+%% \[|\MaxLengthEmptyList{<digit><digit>}[<read-again-files>|]\]
+%% ---``optionally" without \qtd{`[<read-again-files>]'}.
+%% This may save the user from worrying about usage
+%% with 'myfilist'.
%%
%% == \cs{listfiles} extended ==
%% \label{sec:list}
@@ -126,6 +149,9 @@
%% The line of stars:
\typeout{ \LNFL@stars^^J}}%
}
+%% %% moved up from end 2012/09/30:
+%% TODO: 1.~keyval package option avoiding `\listfiles'
+%% 2.~measuring longest filename?
%% == Setting Name Length \emph{before} \cs{listfiles} ==
%% \label{sec:set}
%% I first used |\SetLongNameFileListChars{<number>}|
@@ -143,8 +169,11 @@
%% \LaTeX\ %% 2012/03/15 %%% `\LaTeX'
%% somewhat expects.
%%
-%% TODO: 1.~keyval package option avoiding `\listfiles'
-%% 2.~measuring longest filename?
+%% == Shorthand for 'myfilist' ==
+%% |\MaxLengthEmptyList{<digit><digit>}[<read-again-files>]|
+%% as described in Section~\ref{sec:short} (v0.2):
+\newcommand*{\MaxLengthEmptyList}[1]{%
+ \listfiles[#1]\RequirePackage{myfilist}\EmptyFileList}
%%
%% == Leaving the Package File ==
\endinput
@@ -156,3 +185,4 @@ v0.1 2012/03/11 very first
v0.1b 2012/03/14 doc fixes: avoiding arrow substitution in listing,
space after "who knows"
v0.1c 2012/03/15 more typographical fixes concerning "\LaTeX"
+v0.2 2012/09/30 \MaxLengthEmptyList