Debian Codegraph @

texmf-dist/doc/support/texlogsieve/README.md

raw symbols SCIP
1 # texlogsieve - (yet another program to) filter and summarize LaTeX log files
2
3 `texlogsieve` reads a LaTeX log file (or the standard input if no file is
4 specified), filters out less relevant messages, and displays a summary
5 report. It is a `texlua` script, similar in spirit to tools such as
6 [`texfot`](https://ctan.org/pkg/texfot),
7 [`texloganalyser`](https://ctan.org/pkg/texloganalyser),
8 [`rubber-info`](https://gitlab.com/latex-rubber/rubber),
9 [`textlog_extract`](https://ctan.org/pkg/texlog-extract),
10 [`texlogparser`](https://github.com/reitzig/texlogparser),
11 [`texlogfilter`](https://gricad-gitlab.univ-grenoble-alpes.fr/labbeju/latex-packages),
12 [`pulp`](https://github.com/dmwit/pulp),
13 and others. Highlights:
14
15 * Two reports: the most important messages from the log file followed by
16 a summary of repeated messages, undefined references etc.;
17
18 * The program goes to great lengths to correctly handle TeX line wrapping
19 and does a much better job at that than existing tools;
20
21 * Multiline messages are treated as a single entity;
22
23 * Several options to control which messages should be filtered out;
24
25 * No messages are accidentally removed.
26
27 `texlogsieve` **must** be run from the same directory as `[pdf|lua|xe]latex`,
28 because it searches for the files used during compilation (packages loaded
29 from the current directory, files included with `\input` etc.). Also, since
30 it cannot detect if LaTeX stops for user input, you should **really** run
31 LaTeX in `nonstopmode` when `texlogsieve` is reading from a pipe.
32
33 The defaults are reasonable; hopefully, you can just do
34
35 ```
36 [pdf|lua|xe]latex -interaction nonstopmode myfile.tex | texlogsieve
37 ```
38
39 or
40
41 ```
42 texlogsieve myfile.log
43 ```
44
45 and be satisfied with the result (still, you should check the "Tips"
46 section of the documentation).
47
48 Since it needs to know what messages to expect, `texlogsieve` is
49 currently geared towards LaTeX; I have no idea how it would work with
50 ConTeXt or plain TeX. Still, adding support to them should not be
51 too difficult.
52
53 If you want to know more about the TeX log file and the workings of
54 the program, check the initial comments in the code.
55
56 ---
57
58 Code etc: <https://gitlab.com/lago/texlogsieve>
59
60 Copyright (C) 2021-2026 Nelson Lago <[email protected]>
61
62 This program is free software: you can redistribute it and/or modify
63 it under the terms of the GNU General Public License as published by
64 the Free Software Foundation, either version 3 of the License, or
65 (at your option) any later version.
66
67 This program is distributed in the hope that it will be useful,
68 but WITHOUT ANY WARRANTY; without even the implied warranty of
69 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
70 GNU General Public License for more details.
71
72 You should have received a copy of the GNU General Public License
73 along with this program. If not, see <https://www.gnu.org/licenses/>.