summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/texloganalyser/texloganalyser8
-rw-r--r--Master/texmf-dist/doc/support/texloganalyser/README2
-rwxr-xr-xMaster/texmf-dist/scripts/texloganalyser/texloganalyser8
3 files changed, 11 insertions, 7 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/texloganalyser/texloganalyser b/Build/source/texk/texlive/linked_scripts/texloganalyser/texloganalyser
index ea4845e48e0..121a9f48907 100755
--- a/Build/source/texk/texlive/linked_scripts/texloganalyser/texloganalyser
+++ b/Build/source/texk/texlive/linked_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).
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).