This function is designed to handle the production task of a 'standard'
PDF process. It is designed to build using pdflatex (unless otherwise
specified) an adequate number of times to enable full typesetting to
occur after taking into account items like contents pages, glossaries,
and figures.