Assume pdflatex and latexmk are either on the path or in
/usr/local/texlive/2012/bin/x86_64-linux/