summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-03-24 20:54:13 +0000
committerKarl Berry <karl@freefriends.org>2020-03-24 20:54:13 +0000
commit5de4049c3701b77b230e19cd22c0f1b0e3ac762e (patch)
tree347bee76d1f9d8dd07188bb2e7ce8e99cc3d03d1 /Master/texmf-dist/scripts
parent6c9767fa3ed5fdd16f7045079d4c7144ed22a89f (diff)
texloganalyser (24mar20)
git-svn-id: svn://tug.org/texlive/trunk@54526 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts')
-rwxr-xr-xMaster/texmf-dist/scripts/texloganalyser/texloganalyser8
1 files changed, 5 insertions, 3 deletions
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).