From now on we will use latexmk to build the document instead of individual commands which is fragile.