Added non-stop-mode to pdflatex to halt travis-ci on first error.