Force pdflatex to run twice to resolve issues with references