From ca97701facaa29483a77d1f11501a18802f9e457 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 18 Mar 2022 21:03:36 +0000 Subject: texlogfilter (18mar22) (branch) git-svn-id: svn://tug.org/texlive/branches/branch2021.final@62793 c570f23f-e606-0410-a88d-b1316a301751 --- .../linked_scripts/texlogfilter/texlogfilter | 19 ++++++++++++++++--- Master/texmf-dist/doc/man/man1/texlogfilter.1 | 13 ++++++++++--- .../texmf-dist/doc/man/man1/texlogfilter.man1.pdf | Bin 25457 -> 25882 bytes Master/texmf-dist/doc/support/texlogfilter/README | 11 +++++++++-- .../doc/support/texlogfilter/texlogfilter.html | 13 +++++++++++-- Master/texmf-dist/scripts/texlogfilter/texlogfilter | 19 ++++++++++++++++--- 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 : L +=item * B : L + =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 : .IP "\(bu" 4 \&\fBtexloganalyser\fR : +.IP "\(bu" 4 +\&\fBtexlogsieve\fR : .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 Binary files a/Master/texmf-dist/doc/man/man1/texlogfilter.man1.pdf and b/Master/texmf-dist/doc/man/man1/texlogfilter.man1.pdf 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 : + * 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) @@ -67,6 +70,9 @@
  • texloganalyser : https://www.ctan.org/pkg/texloganalyser

    +
  • +
  • texlogsieve : https://ctan.org/pkg/texlogsieve

    +
  • @@ -82,13 +88,16 @@

    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.

    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 : L +=item * B : L + =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 -- cgit v1.2.3