Structured LOG files

Paulo Ney de Souza pauloney at
Wed May 8 11:40:37 CEST 2019

How do-able would be to make TeX write a better (more structured) LOG file?

Take the example down below, where one is trying, for example, to parse the
LOG file to check which pages have overfulls:

Underfull \hbox (badness 1895) in paragraph at lines 1699--1700
[] []|\TU/TimesNewRoman(0)/bx/n/10 3.6.2 Conjetura de Birch y
] \TU/TimesNewRoman(0)/m/n/10 Hemos definido el regulador

Overfull \hbox (4.49274pt too wide) in paragraph at lines 1718--1719
[]\TU/TimesNewRoman(0)/m/n/10 Gracias a esto último, podemos ahora expresar
conjetura completa (ver [][][][][]Tate [1995][][]):

[46] [47] [48]
Package microtype Info: Loading generic protrusion settings for font family
(microtype)             `lmtt' (encoding: TU).
(microtype)             For optimal results, create family-specific
(microtype)             See the microtype manual for details.

It is natural to look for the "[numbers]" after the overfull, but parsing
for things that happen in between brackets will lead you to believe the
Overfull in line  1718--1719 is at page "1995".

The "freewheelling" nature of the standard log file -- mixing page-number
with date and other info make it almost impossible to reliably extract
reasonable information from long log files, or to parse it automatically.

Paulo Ney
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the texhax mailing list