summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/nicefilelist/nicefilelist.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/nicefilelist/nicefilelist.sty')
-rw-r--r--Master/texmf-dist/tex/latex/nicefilelist/nicefilelist.sty16
1 files changed, 12 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/nicefilelist/nicefilelist.sty b/Master/texmf-dist/tex/latex/nicefilelist/nicefilelist.sty
index eb66299cae3..5e1a6787cd5 100644
--- a/Master/texmf-dist/tex/latex/nicefilelist/nicefilelist.sty
+++ b/Master/texmf-dist/tex/latex/nicefilelist/nicefilelist.sty
@@ -1,5 +1,5 @@
\NeedsTeXFormat{LaTeX2e}[1994/12/01]
-\ProvidesPackage{nicefilelist}[2012/09/30 v0.5
+\ProvidesPackage{nicefilelist}[2012/10/03 v0.6
more file list alignment (UL)]
%% Copyright (C) 2012 Uwe Lueck,
@@ -263,11 +263,17 @@
{\NFLnoversion@\NFLspaceIII##1 ##2}}%
}
%% === Shorthand for 'myfilist' ===
-%% |\MaxBaseEmptyList{<longest-name>}[<read-again-files>]|
-%% as described in Section~\ref{sec:short} (v0.2):
-\newcommand*{\MaxBaseEmptyList}[1]{%
+%% \[|\MaxBaseEmptyList{<longest-name>}[<read-again-files>]|\]
+%% (v0.5) or
+%% \[|\MaxBaseEmptyList*[<read-again-files>]|\]
+%% (v0.6) as described in Section~\ref{sec:short}:
+\newcommand*{\MaxBaseEmptyList}{%
+ \@ifstar{\maxBaseEmptyList{abcdabcd}}\maxBaseEmptyList}
+\newcommand*{\maxBaseEmptyList}[1]{%
\MFfieldtemplate{f-base}{#1}%
\RequirePackage{myfilist}\EmptyFileList}
+%% So |\maxBaseEmptyList| is like former `\MaxBaseEmptyList'
+%% without expecting a star---available to users.
%%
%% === Leaving the Package File ===
\endinput
@@ -298,3 +304,5 @@ v0.33 2012/05/20 removing old code; added 3 %s
STORED INTERNALLY
v0.4 2012/05/20 option [r]
v0.5 2012/09/30 \MaxBaseEmptyList
+v0.6 2012/10/03 \MaxBaseEmptyLists first arg. only optional
+ 2012/10/11 ... bad with 2nd opt. arg., *