summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-02-15 20:36:59 +0000
committerKarl Berry <karl@freefriends.org>2023-02-15 20:36:59 +0000
commit091c76ff0f18f9a142995454a1de8b969e50653f (patch)
tree9cf068c23c3a2c631e2afddaebfffb197b64be1a /Master/texmf-dist/tex/latex
parent865e4bc1e1b0ee68b7c96f02feef1d26ac2747f6 (diff)
nicefilelist (15feb23)
git-svn-id: svn://tug.org/texlive/trunk@65842 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/nicefilelist/nicefilelist.sty11
1 files changed, 7 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/nicefilelist/nicefilelist.sty b/Master/texmf-dist/tex/latex/nicefilelist/nicefilelist.sty
index ce80cd16660..b44178f7731 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]% Option autolength needs 2022-11-01!
-\ProvidesPackage{nicefilelist}[2023/01/08 v0.9a
+\ProvidesPackage{nicefilelist}[2023/02/13 v0.9b
more file list alignment (UL)]
%% Copyright (C) 2012 Uwe Lück (deceased June 2020)
%%
@@ -146,11 +146,11 @@
\ifNFLwrap\RequirePackage{hardwrap}\fi
\ifNFLautolength
- \RequirePackage{xstring}[2021-07-21]% v1.84; needs e-TeX
+ \RequirePackage{xstring}[2023-01-14]% v1.85 String manipulations (CT); needs e-TeX
\AddToHook{enddocument/afterlastpage}{%
\xdef\NFLbaselengthmax{nicefilelist}%
\xdef\NFLextlengthmax{sty}%
- \xdef\NFLversionlengthmax{v0.9a}%
+ \xdef\NFLversionlengthmax{v0.9b}%
\xdef\NFLcaptionlengthmax{more file list alignment (UL)}%
\xdef\NFLbaselengthtmp{0}%
\xdef\NFLextlengthtmp{0}%
@@ -160,6 +160,7 @@
\@for\@currname:=\@filelist\do{%
% This starts the loop through the list of files.
\filename@parse\@currname%
+ \edef\filename@ext{\ifx\filename@ext\relax tex\else\filename@ext\fi}%
\StrLen{\filename@base}[\NFLbaselengthcurrent]%
\ifnum \NFLbaselengthcurrent > \NFLbaselengthtmp \relax%
{\xdef\NFLbaselengthtmp{\NFLbaselengthcurrent}%
@@ -215,7 +216,7 @@
\message{\space\string\hw@maxprintline\space unknown.^^J}%
}{\message{\space\string\hw@maxprintline\space %
unknown because not loading the hardwrap package.^^J}%
- }%
+ }%
\message{\space Now guessing it to be 79.}%
\global\newcount\hw@maxprintline%
\hw@maxprintline=79\relax% the default value
@@ -558,4 +559,6 @@ v0.8a 2022/12/05 Accepting also dashes instead of slashes in date
latex/contrib/nicefilelist.tds.zip
v0.9a 2023/01/08 now also regarding |ver@@| for version;
new option [autolength] (using .aux file)
+ (one-time fix by H.-Martin Münch)
+v0.9b 2023/02/13 bug-fix: file extension missed when |\input|
(one-time fix by H.-Martin Münch) \ No newline at end of file