texlive[72938] trunk: texlogsieve (22nov24)

commits+karl at tug.org commits+karl at tug.org
Fri Nov 22 22:53:17 CET 2024


Revision: 72938
          https://tug.org/svn/texlive?view=revision&revision=72938
Author:   karl
Date:     2024-11-22 22:53:17 +0100 (Fri, 22 Nov 2024)
Log Message:
-----------
texlogsieve (22nov24)

Modified Paths:
--------------
    trunk/Build/source/texk/texlive/linked_scripts/texlogsieve/texlogsieve
    trunk/Master/texmf-dist/doc/man/man1/texlogsieve.1
    trunk/Master/texmf-dist/doc/man/man1/texlogsieve.man1.pdf
    trunk/Master/texmf-dist/doc/support/texlogsieve/README.md
    trunk/Master/texmf-dist/doc/support/texlogsieve/texlogsieve.pdf
    trunk/Master/texmf-dist/doc/support/texlogsieve/texlogsieve.tex
    trunk/Master/texmf-dist/scripts/texlogsieve/texlogsieve

Modified: trunk/Build/source/texk/texlive/linked_scripts/texlogsieve/texlogsieve
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/texlogsieve/texlogsieve	2024-11-22 21:52:55 UTC (rev 72937)
+++ trunk/Build/source/texk/texlive/linked_scripts/texlogsieve/texlogsieve	2024-11-22 21:53:17 UTC (rev 72938)
@@ -521,7 +521,8 @@
 
 2. has occurred while \output is active
    -> If horizontal, this is probably in a header, footer or something
-      similar; if vertical, the vertical glues got too stretched
+      similar; if vertical, the vertical glues got too stretched. For
+      hboxes, this is followed by the offending text.
 
 3. in alignment at lines LINE NUMBERS
    -> the problematic box is part of a tabular or math alignment
@@ -974,7 +975,7 @@
   --version                              print program version]]
 
 versionmsg = [[
-texlogsieve 1.4.1
+texlogsieve 1.4.2
 Copyright (C) 2021-2024 Nelson Lago <lago at ime.usp.br>
 License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
 This is free software: you are free to change and redistribute it.
@@ -1531,6 +1532,9 @@
             .. "Font shape `[^']*/regular/[^']*' tried instead",
     "Font shape `[^']*/b/[^']*' in size %b<> not available.*"
             .. "Font shape `[^']*/bold/[^']*' tried instead",
+    -- versions of xcolor after 2022
+    "Package option `hyperref' is obsolete and ignored",
+    "Package lipsum Warning: Unknown language 'latin'%.",
   }
 
   DEFAULT_FORCED_WARNING = {}
@@ -2400,19 +2404,25 @@
   self.doit = self.handleClosing
 
   _, last = string.find(Lines.current, "has occurred while \\output is active")
+  if last ~= nil and data.verthoriz == 'h' then
+      self.doit = self.handleOffendingText
+  end
+
   if last == nil then
       _, last = string.find(Lines.current, "in %S+ at lines %d+%-%-%d+")
-      if last == nil then
-          _, last = string.find(Lines.current, "detected at line %d+")
-          if last ~= nil and data.verthoriz == 'h' then
-              self.doit = self.handleOffendingText
-          end
-      else
+      if last ~= nil then
           self.doit = self.handleOffendingText
       end
   end
 
   if last == nil then
+      _, last = string.find(Lines.current, "detected at line %d+")
+      if last ~= nil and data.verthoriz == 'h' then
+          self.doit = self.handleOffendingText
+      end
+  end
+
+  if last == nil then
       io.stderr:write("    texlogsieve: parsing error near input line "
                            .. Lines.linenum
                            .. " (underOverFullBoxHandler:handleFirstLine)\n")
@@ -2911,6 +2921,12 @@
 
   "^`newtxtext' v[%d%.]+, " .. datepat .. " Text macros taking advantage of "
               .. "TeXGyre Termes and its extensions %(msharpe%)",
+
+  -- don't know where this comes from...
+  "^ %*%*%*%*%*%*%*%*%*%*%*\n"
+  .. "LaTeX2e <" .. datepat .. ">\n"
+  .. "L3 programming layer <" .. datepat .. ">\n"
+  .. " %*%*%*%*%*%*%*%*%*%*%*"
 }
 
 
@@ -2937,6 +2953,7 @@
   -- <blah.jpg, id=555, [...,] 722.7pt x 722.7pt>
   '^%s*%<' .. filepat .. ', id=.- [%d%.]+pt x [%d%.]+pt%>',
   '^%s*%<use ' .. filepat .. '%>', -- <use blah.jpg>
+  '^%s*%<use ' .. filepat .. ', page %d-%>', -- <use blah.jpg, page ???>
 
   "^%s*`Fixed Point Package', .- %(C%) Michael Mehlich",
 
@@ -2967,6 +2984,18 @@
   '^%s*<Inserting dummy QR code in draft mode for "[^"]+" in version .-%.>',
   '^%s*<Copying the QR code for "[^"]+" in version .- as previously calculated%.>',
   '^%s*<Reading QR code for "[^"]+" at level %S+ from aux file%.>',
+  -- package "comment"
+  "^%s*Special comment '[^']+'",
+  "^%s*General comment '[^']+'",
+  "^%s*Include comment '[^']+'",
+  "^%s*Excluding comment '[^']+'",
+  "^%s*Lines%-Processing comment '[^']+'",
+  "^%s*Including '[^']+' comment%.",
+  "^%s*Excluding '[^']+' comment%.",
+  "^%s*Processing '[^']+' comment%.",
+  "^%s*Comment '[^']+' writing to " .. filepat .. "%.",
+  "^%s*Straight input of " .. filepat .. "%.",
+  "^%s*Include comment '[^']+' up to level '[^']+'",
 }
 
 
@@ -2984,8 +3013,8 @@
   "^Driver file for pgf:.*%.def",
   "^Package pgfplots: loading complementary utilities for your pgf version%.%.%.",
   "^%s*file:line:error style messages enabled%.",
-  "^Applying: %b[] float order in 2%-column on input line .-%.",
-  "^Already applied: %b[] float order in 2%-column on input line .-%.",
+  "^Applying: %b[] .- on input line %d-%.",
+  "^Already applied: %b[] .- on input line %d-%.",
   "^\\%S+ = a dialect from .*",
   -- TODO: we should capture the jobname and use it here
   "^No file .-%.aux%.",
@@ -2993,7 +3022,7 @@
   "^No file .-%.bbl%.",
   "^No file .-%.gls%.",
 
-  "^runsystem%b()%.%.%.executed",
+  "^runsystem%b()%.%.%.executed%.?",
 
   'luaotfload | db : Reload initiated %(formats: .-%); reason: Font ".-" not found%.',
 

Modified: trunk/Master/texmf-dist/doc/man/man1/texlogsieve.1
===================================================================
--- trunk/Master/texmf-dist/doc/man/man1/texlogsieve.1	2024-11-22 21:52:55 UTC (rev 72937)
+++ trunk/Master/texmf-dist/doc/man/man1/texlogsieve.1	2024-11-22 21:53:17 UTC (rev 72938)
@@ -1,4 +1,4 @@
-.TH TEXLOGSIEVE "1" "January 2024" "texlogsieve 1.4.1" "User Commands"
+.TH TEXLOGSIEVE "1" "November 2024" "texlogsieve 1.4.2" "User Commands"
 
 .SH NAME
 

Modified: trunk/Master/texmf-dist/doc/man/man1/texlogsieve.man1.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/support/texlogsieve/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/support/texlogsieve/README.md	2024-11-22 21:52:55 UTC (rev 72937)
+++ trunk/Master/texmf-dist/doc/support/texlogsieve/README.md	2024-11-22 21:53:17 UTC (rev 72938)
@@ -9,6 +9,7 @@
 [`textlog_extract`](https://ctan.org/pkg/texlog-extract),
 [`texlogparser`](https://github.com/reitzig/texlogparser),
 [`texlogfilter`](https://gricad-gitlab.univ-grenoble-alpes.fr/labbeju/latex-packages),
+[`pulp`](https://github.com/dmwit/pulp),
 and others. Highlights:
 
 * Two reports: the most important messages from the log file followed by

Modified: trunk/Master/texmf-dist/doc/support/texlogsieve/texlogsieve.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/support/texlogsieve/texlogsieve.tex
===================================================================
--- trunk/Master/texmf-dist/doc/support/texlogsieve/texlogsieve.tex	2024-11-22 21:52:55 UTC (rev 72937)
+++ trunk/Master/texmf-dist/doc/support/texlogsieve/texlogsieve.tex	2024-11-22 21:53:17 UTC (rev 72938)
@@ -98,12 +98,16 @@
 \changes{1.4.1}{2024/01/15}{Look 5 lines ahead instead of 3}
 \changes{1.4.1}{2024/01/15}{Reduce priority of harmless font substitutions}
 \changes{1.4.1}{2024/01/15}{Recognize more messages}
+\changes{1.4.2}{2024/11/22}{Recognize more messages}
+\changes{1.4.2}{2024/11/22}{Correctly handle ``*full hbox while output\dots``}
+\changes{1.4.2}{2024/11/22}{Add mention to \texttt{pulp}}
+\changes{1.4.2}{2024/11/22}{Add messages from \texttt{comment} pkg}
 
 \begin{document}
 
 \title{\textsf{texlogsieve}:\thanks{This document
-corresponds to \textsf{texlogsieve}~1.4.1,
-dated~2024-01-15.}\\[.3\baselineskip]
+corresponds to \textsf{texlogsieve}~1.4.2,
+dated~2024-11-22.}\\[.3\baselineskip]
 {\normalsize(yet another program to)\\[-.6\baselineskip]}
 {\large filter and summarize \LaTeX\ log files}
 }
@@ -150,7 +154,8 @@
 \href{https://ctan.org/pkg/texlog-extract}{\texttt{textlog\_extract}},
 \href{https://github.com/reitzig/texlogparser}{\texttt{texlogparser}},
 \href{https://gricad-gitlab.univ-grenoble-alpes.fr/labbeju/latex-packages}
-{\texttt{texlogfilter}}, and others.
+{\texttt{texlogfilter}}, \href{https://github.com/dmwit/pulp}
+{\texttt{pulp}}, and others.
 
 Note that it does not try to do anything smart about error messages (but
 it shows a warning in the summary if one is detected; check the ``Tips''

Modified: trunk/Master/texmf-dist/scripts/texlogsieve/texlogsieve
===================================================================
--- trunk/Master/texmf-dist/scripts/texlogsieve/texlogsieve	2024-11-22 21:52:55 UTC (rev 72937)
+++ trunk/Master/texmf-dist/scripts/texlogsieve/texlogsieve	2024-11-22 21:53:17 UTC (rev 72938)
@@ -521,7 +521,8 @@
 
 2. has occurred while \output is active
    -> If horizontal, this is probably in a header, footer or something
-      similar; if vertical, the vertical glues got too stretched
+      similar; if vertical, the vertical glues got too stretched. For
+      hboxes, this is followed by the offending text.
 
 3. in alignment at lines LINE NUMBERS
    -> the problematic box is part of a tabular or math alignment
@@ -974,7 +975,7 @@
   --version                              print program version]]
 
 versionmsg = [[
-texlogsieve 1.4.1
+texlogsieve 1.4.2
 Copyright (C) 2021-2024 Nelson Lago <lago at ime.usp.br>
 License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
 This is free software: you are free to change and redistribute it.
@@ -1531,6 +1532,9 @@
             .. "Font shape `[^']*/regular/[^']*' tried instead",
     "Font shape `[^']*/b/[^']*' in size %b<> not available.*"
             .. "Font shape `[^']*/bold/[^']*' tried instead",
+    -- versions of xcolor after 2022
+    "Package option `hyperref' is obsolete and ignored",
+    "Package lipsum Warning: Unknown language 'latin'%.",
   }
 
   DEFAULT_FORCED_WARNING = {}
@@ -2400,19 +2404,25 @@
   self.doit = self.handleClosing
 
   _, last = string.find(Lines.current, "has occurred while \\output is active")
+  if last ~= nil and data.verthoriz == 'h' then
+      self.doit = self.handleOffendingText
+  end
+
   if last == nil then
       _, last = string.find(Lines.current, "in %S+ at lines %d+%-%-%d+")
-      if last == nil then
-          _, last = string.find(Lines.current, "detected at line %d+")
-          if last ~= nil and data.verthoriz == 'h' then
-              self.doit = self.handleOffendingText
-          end
-      else
+      if last ~= nil then
           self.doit = self.handleOffendingText
       end
   end
 
   if last == nil then
+      _, last = string.find(Lines.current, "detected at line %d+")
+      if last ~= nil and data.verthoriz == 'h' then
+          self.doit = self.handleOffendingText
+      end
+  end
+
+  if last == nil then
       io.stderr:write("    texlogsieve: parsing error near input line "
                            .. Lines.linenum
                            .. " (underOverFullBoxHandler:handleFirstLine)\n")
@@ -2911,6 +2921,12 @@
 
   "^`newtxtext' v[%d%.]+, " .. datepat .. " Text macros taking advantage of "
               .. "TeXGyre Termes and its extensions %(msharpe%)",
+
+  -- don't know where this comes from...
+  "^ %*%*%*%*%*%*%*%*%*%*%*\n"
+  .. "LaTeX2e <" .. datepat .. ">\n"
+  .. "L3 programming layer <" .. datepat .. ">\n"
+  .. " %*%*%*%*%*%*%*%*%*%*%*"
 }
 
 
@@ -2937,6 +2953,7 @@
   -- <blah.jpg, id=555, [...,] 722.7pt x 722.7pt>
   '^%s*%<' .. filepat .. ', id=.- [%d%.]+pt x [%d%.]+pt%>',
   '^%s*%<use ' .. filepat .. '%>', -- <use blah.jpg>
+  '^%s*%<use ' .. filepat .. ', page %d-%>', -- <use blah.jpg, page ???>
 
   "^%s*`Fixed Point Package', .- %(C%) Michael Mehlich",
 
@@ -2967,6 +2984,18 @@
   '^%s*<Inserting dummy QR code in draft mode for "[^"]+" in version .-%.>',
   '^%s*<Copying the QR code for "[^"]+" in version .- as previously calculated%.>',
   '^%s*<Reading QR code for "[^"]+" at level %S+ from aux file%.>',
+  -- package "comment"
+  "^%s*Special comment '[^']+'",
+  "^%s*General comment '[^']+'",
+  "^%s*Include comment '[^']+'",
+  "^%s*Excluding comment '[^']+'",
+  "^%s*Lines%-Processing comment '[^']+'",
+  "^%s*Including '[^']+' comment%.",
+  "^%s*Excluding '[^']+' comment%.",
+  "^%s*Processing '[^']+' comment%.",
+  "^%s*Comment '[^']+' writing to " .. filepat .. "%.",
+  "^%s*Straight input of " .. filepat .. "%.",
+  "^%s*Include comment '[^']+' up to level '[^']+'",
 }
 
 
@@ -2984,8 +3013,8 @@
   "^Driver file for pgf:.*%.def",
   "^Package pgfplots: loading complementary utilities for your pgf version%.%.%.",
   "^%s*file:line:error style messages enabled%.",
-  "^Applying: %b[] float order in 2%-column on input line .-%.",
-  "^Already applied: %b[] float order in 2%-column on input line .-%.",
+  "^Applying: %b[] .- on input line %d-%.",
+  "^Already applied: %b[] .- on input line %d-%.",
   "^\\%S+ = a dialect from .*",
   -- TODO: we should capture the jobname and use it here
   "^No file .-%.aux%.",
@@ -2993,7 +3022,7 @@
   "^No file .-%.bbl%.",
   "^No file .-%.gls%.",
 
-  "^runsystem%b()%.%.%.executed",
+  "^runsystem%b()%.%.%.executed%.?",
 
   'luaotfload | db : Reload initiated %(formats: .-%); reason: Font ".-" not found%.',
 



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