thesis: latexmk -pdf -pdflatex='pdflatex -halt-on-error %O %S' thesis.tex