texlive[69918] trunk: texlogfilter (15feb24)
commits+karl at tug.org
commits+karl at tug.org
Fri Feb 16 22:10:56 CET 2024
Revision: 69918
https://tug.org/svn/texlive?view=revision&revision=69918
Author: karl
Date: 2024-02-16 22:10:56 +0100 (Fri, 16 Feb 2024)
Log Message:
-----------
texlogfilter (15feb24)
Modified Paths:
--------------
trunk/Build/source/texk/texlive/linked_scripts/texlogfilter/texlogfilter
trunk/Master/texmf-dist/doc/man/man1/texlogfilter.1
trunk/Master/texmf-dist/doc/man/man1/texlogfilter.man1.pdf
trunk/Master/texmf-dist/doc/support/texlogfilter/README
trunk/Master/texmf-dist/doc/support/texlogfilter/texlogfilter.html
trunk/Master/texmf-dist/scripts/texlogfilter/texlogfilter
Modified: trunk/Build/source/texk/texlive/linked_scripts/texlogfilter/texlogfilter
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/texlogfilter/texlogfilter 2024-02-16 21:10:47 UTC (rev 69917)
+++ trunk/Build/source/texk/texlive/linked_scripts/texlogfilter/texlogfilter 2024-02-16 21:10:56 UTC (rev 69918)
@@ -16,7 +16,7 @@
use Term::ANSIColor;
my $name = "texlogfilter";
-my $version = "1.2";
+my $version = "1.3";
# options
my @userfilters;
@@ -27,7 +27,7 @@
my $showinfomsg = 0;
my $showskips = 0;
my $skipmarker = "...";
-my $extpattern = "tex|sty|cls|bib";
+my $extpattern = "tex|sty|cls|bib|fd|bst|bbx|cbx|def|clo";
my $fulllog = 0;
my $printfilename = -1; # -1: value not modified by options
my $errcolor = "red";
@@ -187,7 +187,8 @@
# assume currentfile is given in the last open parenthesis
# (works badly for packages)
- if (/\(([^)]+$extpattern)$/) {$currentfile = $1;}
+ if (/^[^(]*\)/) {$currentfile = ""; $lastfile = "";}
+ if (/\(([^)]+($extpattern))$/) {$currentfile = $1;}
# try to show usefull lines following some warnings or errors (starting with
# whitespaces or package name)
@@ -341,13 +342,15 @@
=over
-=item * 2024, February, version 1.2 : fix duplicate or missing lines; handle
-package and class names with hyphen ; add info and warning patterns for fonts.
+=item * 2024, February, version 1.3: better detect the current file name.
-=item * 2022, March, version 1.1 : add --info and --no-info options.
+=item * 2024, February, version 1.2: fix duplicate or missing lines; handle
+package and class names with hyphen; add info and warning patterns for fonts.
-=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: trunk/Master/texmf-dist/doc/man/man1/texlogfilter.1
===================================================================
--- trunk/Master/texmf-dist/doc/man/man1/texlogfilter.1 2024-02-16 21:10:47 UTC (rev 69917)
+++ trunk/Master/texmf-dist/doc/man/man1/texlogfilter.1 2024-02-16 21:10:56 UTC (rev 69918)
@@ -55,7 +55,7 @@
.\" ========================================================================
.\"
.IX Title "TEXLOGFILTER 1"
-.TH TEXLOGFILTER 1 2024-02-13 texlogfilter "Julien Labbe"
+.TH TEXLOGFILTER 1 2024-02-14 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
@@ -140,12 +140,14 @@
.SS HISTORY
.IX Subsection "HISTORY"
.IP \(bu 4
-2024, February, version 1.2 : fix duplicate or missing lines; handle
-package and class names with hyphen ; add info and warning patterns for fonts.
+2024, February, version 1.3: better detect the current file name.
.IP \(bu 4
-2022, March, version 1.1 : add \-\-info and \-\-no\-info options.
+2024, February, version 1.2: fix duplicate or missing lines; handle
+package and class names with hyphen; add info and warning patterns for fonts.
.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 DOCUMENTATION
.IX Subsection "DOCUMENTATION"
The documentation is integrated, writtent in Plain Old Documentation (POD)
Modified: trunk/Master/texmf-dist/doc/man/man1/texlogfilter.man1.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/support/texlogfilter/README
===================================================================
--- trunk/Master/texmf-dist/doc/support/texlogfilter/README 2024-02-16 21:10:47 UTC (rev 69917)
+++ trunk/Master/texmf-dist/doc/support/texlogfilter/README 2024-02-16 21:10:56 UTC (rev 69918)
@@ -69,13 +69,15 @@
1.1
HISTORY
- * 2024, February, version 1.2 : fix duplicate or missing lines; handle
- package and class names with hyphen ; add info and warning patterns
+ * 2024, February, version 1.3: better detect the current file name.
+
+ * 2024, February, version 1.2: fix duplicate or missing lines; handle
+ package and class names with hyphen; add info and warning patterns
for fonts.
- * 2022, March, version 1.1 : add --info and --no-info options.
+ * 2022, March, version 1.1: add --info and --no-info options.
- * 2021, November, version 1.0 : initial version.
+ * 2021, November, version 1.0: initial version.
DOCUMENTATION
The documentation is integrated, writtent in Plain Old Documentation
Modified: trunk/Master/texmf-dist/doc/support/texlogfilter/texlogfilter.html
===================================================================
--- trunk/Master/texmf-dist/doc/support/texlogfilter/texlogfilter.html 2024-02-16 21:10:47 UTC (rev 69917)
+++ trunk/Master/texmf-dist/doc/support/texlogfilter/texlogfilter.html 2024-02-16 21:10:56 UTC (rev 69918)
@@ -94,15 +94,18 @@
<ul>
-<li><p>2024, February, version 1.2 : fix duplicate or missing lines; handle package and class names with hyphen ; add info and warning patterns for fonts.</p>
+<li><p>2024, February, version 1.3: better detect the current file name.</p>
</li>
-<li><p>2022, March, version 1.1 : add --info and --no-info options.</p>
+<li><p>2024, February, version 1.2: fix duplicate or missing lines; handle package and class names with hyphen; add info and warning patterns for fonts.</p>
</li>
-<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: trunk/Master/texmf-dist/scripts/texlogfilter/texlogfilter
===================================================================
--- trunk/Master/texmf-dist/scripts/texlogfilter/texlogfilter 2024-02-16 21:10:47 UTC (rev 69917)
+++ trunk/Master/texmf-dist/scripts/texlogfilter/texlogfilter 2024-02-16 21:10:56 UTC (rev 69918)
@@ -16,7 +16,7 @@
use Term::ANSIColor;
my $name = "texlogfilter";
-my $version = "1.2";
+my $version = "1.3";
# options
my @userfilters;
@@ -27,7 +27,7 @@
my $showinfomsg = 0;
my $showskips = 0;
my $skipmarker = "...";
-my $extpattern = "tex|sty|cls|bib";
+my $extpattern = "tex|sty|cls|bib|fd|bst|bbx|cbx|def|clo";
my $fulllog = 0;
my $printfilename = -1; # -1: value not modified by options
my $errcolor = "red";
@@ -187,7 +187,8 @@
# assume currentfile is given in the last open parenthesis
# (works badly for packages)
- if (/\(([^)]+$extpattern)$/) {$currentfile = $1;}
+ if (/^[^(]*\)/) {$currentfile = ""; $lastfile = "";}
+ if (/\(([^)]+($extpattern))$/) {$currentfile = $1;}
# try to show usefull lines following some warnings or errors (starting with
# whitespaces or package name)
@@ -341,13 +342,15 @@
=over
-=item * 2024, February, version 1.2 : fix duplicate or missing lines; handle
-package and class names with hyphen ; add info and warning patterns for fonts.
+=item * 2024, February, version 1.3: better detect the current file name.
-=item * 2022, March, version 1.1 : add --info and --no-info options.
+=item * 2024, February, version 1.2: fix duplicate or missing lines; handle
+package and class names with hyphen; add info and warning patterns for fonts.
-=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.