Automatically abort pdflatex on error and output master.log to STDOUT