Preparatory work for the LaTeX log viewer
@swilmet
Submitted by Sébastien Wilmet Link to original bug (#748824)
Description
Some preparatory work for the LaTeX log viewer (see bug #746880) is possible, and would be useful in itself.
- Write unit tests for the latex post-processor.
- Run the latex post-processor on the log file instead of the command output.
The second point would make the build tools more robust, especially for the latexmk post-processor. The log file is normally always created. Currently the latex output is extracted from the latexmk output. If the latexmk output format changes, the latexmk post-processor would be broken. So in that case the LaTeX log file is a nice fallback.