texlive[62793] branches/branch2021.final: texlogfilter (18mar22)

commits+karl at tug.org commits+karl at tug.org
Fri Mar 18 22:03:37 CET 2022


Revision: 62793
          http://tug.org/svn/texlive?view=revision&revision=62793
Author:   karl
Date:     2022-03-18 22:03:36 +0100 (Fri, 18 Mar 2022)
Log Message:
-----------
texlogfilter (18mar22) (branch)

Modified Paths:
--------------
    branches/branch2021.final/Build/source/texk/texlive/linked_scripts/texlogfilter/texlogfilter
    branches/branch2021.final/Master/texmf-dist/doc/man/man1/texlogfilter.1
    branches/branch2021.final/Master/texmf-dist/doc/man/man1/texlogfilter.man1.pdf
    branches/branch2021.final/Master/texmf-dist/doc/support/texlogfilter/README
    branches/branch2021.final/Master/texmf-dist/doc/support/texlogfilter/texlogfilter.html
    branches/branch2021.final/Master/texmf-dist/scripts/texlogfilter/texlogfilter

Modified: branches/branch2021.final/Build/source/texk/texlive/linked_scripts/texlogfilter/texlogfilter
===================================================================
--- branches/branch2021.final/Build/source/texk/texlive/linked_scripts/texlogfilter/texlogfilter	2022-03-18 21:03:26 UTC (rev 62792)
+++ branches/branch2021.final/Build/source/texk/texlive/linked_scripts/texlogfilter/texlogfilter	2022-03-18 21:03:36 UTC (rev 62793)
@@ -16,7 +16,7 @@
 use Term::ANSIColor;
 
 my $name = "texlogfilter";
-my $version = "1.0";
+my $version = "1.1";
 
 # options
 my @userfilters;
@@ -24,6 +24,7 @@
 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 @@
 
 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 @@
  --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 @@
     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 @@
     --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 @@
 
 =item * B<texloganalyser> : L<https://www.ctan.org/pkg/texloganalyser>
 
+=item * B<texlogsieve> : L<https://ctan.org/pkg/texlogsieve>
+
 =back
 
 =head2 AUTHOR
@@ -321,14 +332,16 @@
 
 =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
 
 =cut

Modified: branches/branch2021.final/Master/texmf-dist/doc/man/man1/texlogfilter.1
===================================================================
--- branches/branch2021.final/Master/texmf-dist/doc/man/man1/texlogfilter.1	2022-03-18 21:03:26 UTC (rev 62792)
+++ branches/branch2021.final/Master/texmf-dist/doc/man/man1/texlogfilter.1	2022-03-18 21:03:36 UTC (rev 62793)
@@ -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 @@
 \&    \-\-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 @@
 \&\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 @@
 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)

Modified: branches/branch2021.final/Master/texmf-dist/doc/man/man1/texlogfilter.man1.pdf
===================================================================
(Binary files differ)

Modified: branches/branch2021.final/Master/texmf-dist/doc/support/texlogfilter/README
===================================================================
--- branches/branch2021.final/Master/texmf-dist/doc/support/texlogfilter/README	2022-03-18 21:03:26 UTC (rev 62792)
+++ branches/branch2021.final/Master/texmf-dist/doc/support/texlogfilter/README	2022-03-18 21:03:36 UTC (rev 62793)
@@ -24,6 +24,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)
@@ -47,6 +50,8 @@
 
     *   texloganalyser : <https://www.ctan.org/pkg/texloganalyser>
 
+    *   texlogsieve : <https://ctan.org/pkg/texlogsieve>
+
   AUTHOR
     Written by Julien Labbé.
 
@@ -61,11 +66,13 @@
     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
     (POD) format. Exported versions are available, in the following files:

Modified: branches/branch2021.final/Master/texmf-dist/doc/support/texlogfilter/texlogfilter.html
===================================================================
--- branches/branch2021.final/Master/texmf-dist/doc/support/texlogfilter/texlogfilter.html	2022-03-18 21:03:26 UTC (rev 62792)
+++ branches/branch2021.final/Master/texmf-dist/doc/support/texlogfilter/texlogfilter.html	2022-03-18 21:03:36 UTC (rev 62793)
@@ -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,15 +88,18 @@
 
 <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>
 
 <h2 id="DOCUMENTATION">DOCUMENTATION</h2>

Modified: branches/branch2021.final/Master/texmf-dist/scripts/texlogfilter/texlogfilter
===================================================================
--- branches/branch2021.final/Master/texmf-dist/scripts/texlogfilter/texlogfilter	2022-03-18 21:03:26 UTC (rev 62792)
+++ branches/branch2021.final/Master/texmf-dist/scripts/texlogfilter/texlogfilter	2022-03-18 21:03:36 UTC (rev 62793)
@@ -16,7 +16,7 @@
 use Term::ANSIColor;
 
 my $name = "texlogfilter";
-my $version = "1.0";
+my $version = "1.1";
 
 # options
 my @userfilters;
@@ -24,6 +24,7 @@
 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 @@
 
 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 @@
  --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 @@
     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 @@
     --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 @@
 
 =item * B<texloganalyser> : L<https://www.ctan.org/pkg/texloganalyser>
 
+=item * B<texlogsieve> : L<https://ctan.org/pkg/texlogsieve>
+
 =back
 
 =head2 AUTHOR
@@ -321,14 +332,16 @@
 
 =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
 
 =cut



More information about the tex-live-commits mailing list.