I am using latexmk
for the automatic resolution of needed reruns. I would like to put all build files (aux, log, bbl, pdf, etc.) in a subdirectory.
I cannot find an option for latexmk to do this. If I specify -output-directory
in the pdflatex rule like this
$pdflatex="pdflatex -interaction=nonstopmode -output-directory=build";
latexmk fails to find the files when doing a second run.
Has anyone found a suitable solution?