summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-03-18 21:03:36 +0000
committerKarl Berry <karl@freefriends.org>2022-03-18 21:03:36 +0000
commitca97701facaa29483a77d1f11501a18802f9e457 (patch)
tree39deebc3f2bad1e928afed200b9c0acdc3baefff
parent39fc871ec1026de032a8488fab576cf7a06cc0be (diff)
texlogfilter (18mar22) (branch)
git-svn-id: svn://tug.org/texlive/branches/branch2021.final@62793 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/texlogfilter/texlogfilter19
-rw-r--r--Master/texmf-dist/doc/man/man1/texlogfilter.113
-rw-r--r--Master/texmf-dist/doc/man/man1/texlogfilter.man1.pdfbin25457 -> 25882 bytes
-rw-r--r--Master/texmf-dist/doc/support/texlogfilter/README11
-rw-r--r--Master/texmf-dist/doc/support/texlogfilter/texlogfilter.html13
-rwxr-xr-xMaster/texmf-dist/scripts/texlogfilter/texlogfilter19
6 files changed, 62 insertions, 13 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/texlogfilter/texlogfilter b/Build/source/texk/texlive/linked_scripts/texlogfilter/texlogfilter
index ee962a3e9b7..f960c9a3773 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.0";
+my $version = "1.1";
# options
my @userfilters;
@@ -24,6 +24,7 @@ my $showhelp = 0;
my $showversion = 0;
my $showrefmsg = 1;
my $showboxmsg = 1;
+my $showinfomsg = 0;
my $showskips = 0;
my $skipmarker = "...";
my $extpattern = "tex|sty|cls|bib";
@@ -37,6 +38,7 @@ my $usrcolor = "reset";
GetOptions ("box!" => \$showboxmsg, # show box warnings
"ref!" => \$showrefmsg, # show reference and citation warnings
+ "info!" => \$showinfomsg, # show latex info messages
"skips!" => \$showskips, # show that lines have been skipped
"skip-marker=s" => \$skipmarker, # how to indicate skipped lines
"files-ext=s" => \$extpattern, # file extension regex pattern
@@ -87,6 +89,9 @@ Options:
--ref : show reference/citation warnings
--no-ref : mask reference/citation warnings
+ --info : show latex info messages
+ --no-info : mask latex info messages
+
--filename : print current file name
--no-filename : do not print current file name
--files-ext=string : regex pattern used to match files extension (default: $extpattern)
@@ -211,6 +216,7 @@ while (<>) {
elsif (/(overfull|underfull|badbox)/i) { if ($showboxmsg){handle_warning(1);} }
# find infos
+ elsif (/^(LaTeX) (\w+ )?Info/i) { if ($showinfomsg){handle_info();} }
elsif (/^(LaTeX)/i) { handle_info(); }
elsif (/^Document Class/i) { handle_info(); }
elsif (/^\\input/) { handle_info(); }
@@ -276,6 +282,9 @@ Without input file, standard input is used. Use on latex engine output with:
--ref : show reference/citation warnings
--no-ref : mask reference/citation warnings
+ --info : show latex info messages
+ --no-info : mask latex info messages
+
--filename : print current file name
--no-filename : do not print current file name
--files-ext=string : regex pattern used to match files extension (default: tex|sty|cls|bib)
@@ -302,6 +311,8 @@ Without input file, standard input is used. Use on latex engine output with:
=item * B<texloganalyser> : L<https://www.ctan.org/pkg/texloganalyser>
+=item * B<texlogsieve> : L<https://ctan.org/pkg/texlogsieve>
+
=back
=head2 AUTHOR
@@ -321,13 +332,15 @@ distributions of LaTeX version 2005/12/01 or later.
=head2 VERSION
-1.0
+1.1
=head2 HISTORY
=over
-=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
diff --git a/Master/texmf-dist/doc/man/man1/texlogfilter.1 b/Master/texmf-dist/doc/man/man1/texlogfilter.1
index 3b28ac07076..aa7d15c8edf 100644
--- a/Master/texmf-dist/doc/man/man1/texlogfilter.1
+++ b/Master/texmf-dist/doc/man/man1/texlogfilter.1
@@ -133,7 +133,7 @@
.\" ========================================================================
.\"
.IX Title "TEXLOGFILTER 1"
-.TH TEXLOGFILTER 1 "2022-01-26" "texlogfilter" "Julien Labbe"
+.TH TEXLOGFILTER 1 "2022-03-18" "texlogfilter" "Julien Labbe"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
@@ -170,6 +170,9 @@ Without input file, standard input is used. Use on latex engine output with:
\& \-\-ref : show reference/citation warnings
\& \-\-no\-ref : mask reference/citation warnings
\&
+\& \-\-info : show latex info messages
+\& \-\-no\-info : mask latex info messages
+\&
\& \-\-filename : print current file name
\& \-\-no\-filename : do not print current file name
\& \-\-files\-ext=string : regex pattern used to match files extension (default: tex|sty|cls|bib)
@@ -194,6 +197,8 @@ Without input file, standard input is used. Use on latex engine output with:
\&\fBtexlog-extract\fR : <https://www.ctan.org/pkg/texlog\-extract>
.IP "\(bu" 4
\&\fBtexloganalyser\fR : <https://www.ctan.org/pkg/texloganalyser>
+.IP "\(bu" 4
+\&\fBtexlogsieve\fR : <https://ctan.org/pkg/texlogsieve>
.SS "\s-1AUTHOR\s0"
.IX Subsection "AUTHOR"
Written by Julien Labbe\*'.
@@ -209,11 +214,13 @@ any later version. The latest version of this license is in
distributions of LaTeX version 2005/12/01 or later.
.SS "\s-1VERSION\s0"
.IX Subsection "VERSION"
-1.0
+1.1
.SS "\s-1HISTORY\s0"
.IX Subsection "HISTORY"
.IP "\(bu" 4
-2021, november : version 1.0 (initial version).
+2022, march, version 1.1 : add \-\-info and \-\-no\-info options.
+.IP "\(bu" 4
+2021, november, version 1.0 : initial version.
.SS "\s-1DOCUMENTATION\s0"
.IX Subsection "DOCUMENTATION"
The documentation is integrated, writtent in Plain Old Documentation (\s-1POD\s0)
diff --git a/Master/texmf-dist/doc/man/man1/texlogfilter.man1.pdf b/Master/texmf-dist/doc/man/man1/texlogfilter.man1.pdf
index d948172a2f2..7700aa9b490 100644
--- a/Master/texmf-dist/doc/man/man1/texlogfilter.man1.pdf
+++ b/Master/texmf-dist/doc/man/man1/texlogfilter.man1.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/support/texlogfilter/README b/Master/texmf-dist/doc/support/texlogfilter/README
index 8539ef19e2e..d7d707ab5aa 100644
--- a/Master/texmf-dist/doc/support/texlogfilter/README
+++ b/Master/texmf-dist/doc/support/texlogfilter/README
@@ -24,6 +24,9 @@ texlogfilter
--ref : show reference/citation warnings
--no-ref : mask reference/citation warnings
+ --info : show latex info messages
+ --no-info : mask latex info messages
+
--filename : print current file name
--no-filename : do not print current file name
--files-ext=string : regex pattern used to match files extension (default: tex|sty|cls|bib)
@@ -47,6 +50,8 @@ texlogfilter
* texloganalyser : <https://www.ctan.org/pkg/texloganalyser>
+ * texlogsieve : <https://ctan.org/pkg/texlogsieve>
+
AUTHOR
Written by Julien Labbé.
@@ -61,10 +66,12 @@ texlogfilter
of all distributions of LaTeX version 2005/12/01 or later.
VERSION
- 1.0
+ 1.1
HISTORY
- * 2021, november : version 1.0 (initial version).
+ * 2022, march, version 1.1 : add --info and --no-info options.
+
+ * 2021, november, version 1.0 : initial version.
DOCUMENTATION
The documentation is integrated, writtent in Plain Old Documentation
diff --git a/Master/texmf-dist/doc/support/texlogfilter/texlogfilter.html b/Master/texmf-dist/doc/support/texlogfilter/texlogfilter.html
index 95ff1135881..6cebc68729f 100644
--- a/Master/texmf-dist/doc/support/texlogfilter/texlogfilter.html
+++ b/Master/texmf-dist/doc/support/texlogfilter/texlogfilter.html
@@ -40,6 +40,9 @@
--ref : show reference/citation warnings
--no-ref : mask reference/citation warnings
+ --info : show latex info messages
+ --no-info : mask latex info messages
+
--filename : print current file name
--no-filename : do not print current file name
--files-ext=string : regex pattern used to match files extension (default: tex|sty|cls|bib)
@@ -68,6 +71,9 @@
<li><p><b>texloganalyser</b> : <a href="https://www.ctan.org/pkg/texloganalyser">https://www.ctan.org/pkg/texloganalyser</a></p>
</li>
+<li><p><b>texlogsieve</b> : <a href="https://ctan.org/pkg/texlogsieve">https://ctan.org/pkg/texlogsieve</a></p>
+
+</li>
</ul>
<h2 id="AUTHOR">AUTHOR</h2>
@@ -82,13 +88,16 @@
<h2 id="VERSION">VERSION</h2>
-<p>1.0</p>
+<p>1.1</p>
<h2 id="HISTORY">HISTORY</h2>
<ul>
-<li><p>2021, november : version 1.0 (initial version).</p>
+<li><p>2022, march, version 1.1 : add --info and --no-info options.</p>
+
+</li>
+<li><p>2021, november, version 1.0 : initial version.</p>
</li>
</ul>
diff --git a/Master/texmf-dist/scripts/texlogfilter/texlogfilter b/Master/texmf-dist/scripts/texlogfilter/texlogfilter
index ee962a3e9b7..f960c9a3773 100755
--- a/Master/texmf-dist/scripts/texlogfilter/texlogfilter
+++ b/Master/texmf-dist/scripts/texlogfilter/texlogfilter
@@ -16,7 +16,7 @@ use Getopt::Long;
use Term::ANSIColor;
my $name = "texlogfilter";
-my $version = "1.0";
+my $version = "1.1";
# options
my @userfilters;
@@ -24,6 +24,7 @@ my $showhelp = 0;
my $showversion = 0;
my $showrefmsg = 1;
my $showboxmsg = 1;
+my $showinfomsg = 0;
my $showskips = 0;
my $skipmarker = "...";
my $extpattern = "tex|sty|cls|bib";
@@ -37,6 +38,7 @@ my $usrcolor = "reset";
GetOptions ("box!" => \$showboxmsg, # show box warnings
"ref!" => \$showrefmsg, # show reference and citation warnings
+ "info!" => \$showinfomsg, # show latex info messages
"skips!" => \$showskips, # show that lines have been skipped
"skip-marker=s" => \$skipmarker, # how to indicate skipped lines
"files-ext=s" => \$extpattern, # file extension regex pattern
@@ -87,6 +89,9 @@ Options:
--ref : show reference/citation warnings
--no-ref : mask reference/citation warnings
+ --info : show latex info messages
+ --no-info : mask latex info messages
+
--filename : print current file name
--no-filename : do not print current file name
--files-ext=string : regex pattern used to match files extension (default: $extpattern)
@@ -211,6 +216,7 @@ while (<>) {
elsif (/(overfull|underfull|badbox)/i) { if ($showboxmsg){handle_warning(1);} }
# find infos
+ elsif (/^(LaTeX) (\w+ )?Info/i) { if ($showinfomsg){handle_info();} }
elsif (/^(LaTeX)/i) { handle_info(); }
elsif (/^Document Class/i) { handle_info(); }
elsif (/^\\input/) { handle_info(); }
@@ -276,6 +282,9 @@ Without input file, standard input is used. Use on latex engine output with:
--ref : show reference/citation warnings
--no-ref : mask reference/citation warnings
+ --info : show latex info messages
+ --no-info : mask latex info messages
+
--filename : print current file name
--no-filename : do not print current file name
--files-ext=string : regex pattern used to match files extension (default: tex|sty|cls|bib)
@@ -302,6 +311,8 @@ Without input file, standard input is used. Use on latex engine output with:
=item * B<texloganalyser> : L<https://www.ctan.org/pkg/texloganalyser>
+=item * B<texlogsieve> : L<https://ctan.org/pkg/texlogsieve>
+
=back
=head2 AUTHOR
@@ -321,13 +332,15 @@ distributions of LaTeX version 2005/12/01 or later.
=head2 VERSION
-1.0
+1.1
=head2 HISTORY
=over
-=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