Add latexmk settings.
Unset temporary variables.