[texhax] parsing the LaTeX log
Jeroen.Wijnhout at kdemail.net
Sat Jan 3 14:57:53 CET 2004
Some (La)TeX editors extract errors from the log file, in order to present an
easy to read list of errors/warnings to the user. However parsing the log
file isn't easy. Different versions of TeX ( LaTeX, pdfLaTeX, pdfTeX) use
different ways to write errors to the log file. Also sometimes a piece of the
source file is printed along with the error (the context), this makes parsing
a real challenge!
I was sort of wondering if there is a (La)TeX package available that can show
(La)TeX errors in a standard representation. For example, instead of printing
! Undefined control sequence.
to the log file, print:
test.tex:7:"! Undefined control sequence.":"\test"
to a file test.errors.
This would make an automatic error extraction trivial. Is this possible at
all? What are the tools I can use?
Kile - an Integrated LaTeX Environment for KDE
More information about the texhax