latex-output-beautifier is a small set of routines that filter the verbose output produced by LaTeX.
The intended usage is for those who run LaTeX without external tools (such as latexmk) and want to see the console output of LaTeX, but get distracted by the loads of messages. This tool filters most of the rather uninformative messages, and tries to format the informative messages to reduce the visual clutter.
export max_print_line=100000
pdflatex … | filter-latex.sh [options]
Use --help
to see a list of available options.
- colouring of errors and warnings
- suppress listing of loaded files that are part of your TeX distribution (these can make a large amount of the output, in particular at the beginning and end)
- format the output where it helps reading messages or reflects the structure of the document
- GNU awk
- bash
I compile LaTeX using a Makefile out of vim. However, the vim console emulator allows no scrolling and does not support colours. Therefore, I have a separate terminal window (on a secondary screen) where I compile LaTeX. To automatically create such a window and run make out of vim, see make-session.sh.