diff options
author | Karl Berry <karl@freefriends.org> | 2020-03-24 20:54:13 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-03-24 20:54:13 +0000 |
commit | 5de4049c3701b77b230e19cd22c0f1b0e3ac762e (patch) | |
tree | 347bee76d1f9d8dd07188bb2e7ce8e99cc3d03d1 /Master/texmf-dist | |
parent | 6c9767fa3ed5fdd16f7045079d4c7144ed22a89f (diff) |
texloganalyser (24mar20)
git-svn-id: svn://tug.org/texlive/trunk@54526 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/support/texloganalyser/README | 2 | ||||
-rwxr-xr-x | Master/texmf-dist/scripts/texloganalyser/texloganalyser | 8 |
2 files changed, 6 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/support/texloganalyser/README b/Master/texmf-dist/doc/support/texloganalyser/README index 0f7303b4e9f..890c8b0debb 100644 --- a/Master/texmf-dist/doc/support/texloganalyser/README +++ b/Master/texmf-dist/doc/support/texloganalyser/README @@ -1,4 +1,4 @@ -This is texloganalyser (Perl script), version 0.10 +This is texloganalyser (Perl script), version 0.11 Copyright 2006-2020 Thomas van Oudenhove License: BSD diff --git a/Master/texmf-dist/scripts/texloganalyser/texloganalyser b/Master/texmf-dist/scripts/texloganalyser/texloganalyser index ea4845e48e0..121a9f48907 100755 --- a/Master/texmf-dist/scripts/texloganalyser/texloganalyser +++ b/Master/texmf-dist/scripts/texloganalyser/texloganalyser @@ -38,7 +38,7 @@ use strict; use Getopt::Long; Getopt::Long::Configure ("bundling"); -my $version = "0.10"; +my $version = "0.11"; my $copyright = "2006-2020"; my $opt = { help => '', @@ -132,13 +132,13 @@ sub analyze { # look for boxes warnings if ($opt->{c} and $opt->{o} and $opt->{h}) { if ($line =~ m/\\hbox/ and $line =~ m/Overfull/) { - $line =~ m/^Overfull \\hbox \((\d+\.\d+)pt too wide\) (in paragraph|detected) at lines? ([0-9\-]+)$/; + $line =~ m/^Overfull \\hbox \((\d+\.\d+)pt too wide\) .*$/; $cbox->{$1} = 'Page '.$png.': '.$line; $chead = 'Overfull hboxes classified:'; } } elsif ($opt->{c} and $opt->{u} and $opt->{h}) { if ($line =~ m/\\hbox/ and $line =~ m/Underfull/) { - $line =~ m/^Underfull \\hbox \(badness (\d+)\) (in paragraph|detected) at lines? ([0-9\-]+)$/; + $line =~ m/^Underfull \\hbox \(badness (\d+)\) .*$/; $cbox->{$1} = 'Page '.$png.': '.$line; $chead = 'Underfull hboxes classified:'; } @@ -385,6 +385,8 @@ Paulo Ney de Souza had the idea of -c option to better handle hboxes, March 2020 =over +=item v0.11: bug fix for -c option (regexp was too specific) + =item v0.10: added option -c, to classify boxes warnings by size (Paulo Ney de Souza's idea). =item v0.9: added option --last, if log file contains several compilations (Akim Demaille's patch). |