diff options
author | Karl Berry <karl@freefriends.org> | 2024-02-16 21:10:56 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-02-16 21:10:56 +0000 |
commit | dfba588bb1b115af0f341e3caf5f4d74cdfd5263 (patch) | |
tree | 251e6ea91b1c3165d856a0fee6aa485e9a4b5717 /Build | |
parent | bccd079a6fec6ac14d5ca02410456cc819913502 (diff) |
texlogfilter (15feb24)
git-svn-id: svn://tug.org/texlive/trunk@69918 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rwxr-xr-x | Build/source/texk/texlive/linked_scripts/texlogfilter/texlogfilter | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/texlogfilter/texlogfilter b/Build/source/texk/texlive/linked_scripts/texlogfilter/texlogfilter index 6a8b2462329..341318e5764 100755 --- a/Build/source/texk/texlive/linked_scripts/texlogfilter/texlogfilter +++ b/Build/source/texk/texlive/linked_scripts/texlogfilter/texlogfilter @@ -16,7 +16,7 @@ use Getopt::Long; use Term::ANSIColor; my $name = "texlogfilter"; -my $version = "1.2"; +my $version = "1.3"; # options my @userfilters; @@ -27,7 +27,7 @@ my $showboxmsg = 1; my $showinfomsg = 0; my $showskips = 0; my $skipmarker = "..."; -my $extpattern = "tex|sty|cls|bib"; +my $extpattern = "tex|sty|cls|bib|fd|bst|bbx|cbx|def|clo"; my $fulllog = 0; my $printfilename = -1; # -1: value not modified by options my $errcolor = "red"; @@ -187,7 +187,8 @@ while (<>) { # assume currentfile is given in the last open parenthesis # (works badly for packages) - if (/\(([^)]+$extpattern)$/) {$currentfile = $1;} + if (/^[^(]*\)/) {$currentfile = ""; $lastfile = "";} + if (/\(([^)]+($extpattern))$/) {$currentfile = $1;} # try to show usefull lines following some warnings or errors (starting with # whitespaces or package name) @@ -341,12 +342,14 @@ distributions of LaTeX version 2005/12/01 or later. =over -=item * 2024, February, version 1.2 : fix duplicate or missing lines; handle -package and class names with hyphen ; add info and warning patterns for fonts. +=item * 2024, February, version 1.3: better detect the current file name. -=item * 2022, March, version 1.1 : add --info and --no-info options. +=item * 2024, February, version 1.2: fix duplicate or missing lines; handle +package and class names with hyphen; add info and warning patterns for fonts. -=item * 2021, November, version 1.0 : initial version. +=item * 2022, March, version 1.1: add --info and --no-info options. + +=item * 2021, November, version 1.0: initial version. =back |