diff options
author | Norbert Preining <norbert@preining.info> | 2020-03-25 03:01:53 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-03-25 03:01:53 +0000 |
commit | e32477e40d853a81951c9811f8554455dbff4014 (patch) | |
tree | 12744b350742c71cbb3c768354084a5c50369ce7 /support/texloganalyser | |
parent | e9af7499b89170ca5c737240b0cdb9563dcf6c5a (diff) |
CTAN sync 202003250301
Diffstat (limited to 'support/texloganalyser')
-rw-r--r-- | support/texloganalyser/README | 2 | ||||
-rwxr-xr-x | support/texloganalyser/texloganalyser | 8 |
2 files changed, 6 insertions, 4 deletions
diff --git a/support/texloganalyser/README b/support/texloganalyser/README index 0f7303b4e9..890c8b0deb 100644 --- a/support/texloganalyser/README +++ b/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/support/texloganalyser/texloganalyser b/support/texloganalyser/texloganalyser index ea4845e48e..121a9f4890 100755 --- a/support/texloganalyser/texloganalyser +++ b/support/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). |