reitzig / ltx2any

Yet another LaTeX build wrapper, with one or two nifty features
GNU General Public License v3.0
59 stars 4 forks source link

Warnings/errors are not reported nicely #13

Closed akerbos closed 11 years ago

akerbos commented 11 years ago

It may be useful to provide some digest of the generated log(s). For example, counting warnings and warnings in the output of pdflatex can give simple feedback towards how good or bad the run was.

akerbos commented 11 years ago

The above applies to both engines and extensions: no warning/error should be lost! CLI should indicate that there were problems, and the log should contain (pointers to) the detailed messages.

akerbos commented 11 years ago

Ultrafeature: if/when we can reliably collect warnings and errors, create a structured log (Markdown?) which can (optionally) directly be converted into PDF or HTML.

That probably means that engines and extensions have to do the heavy lifting and return four values:

akerbos commented 11 years ago

Tentative to-do: add a machine-readable text format.

akerbos commented 11 years ago

This is what PDF logs look like now:

bibtex_test log pdf

akerbos commented 11 years ago

Aside from the TikZ extension which will be dealt with during the cleanup (cf issue #24), everything is done.

akerbos commented 11 years ago

As of 248aa38, tikext does collect, parse and propagate messages correctly.