I'm trying to get the following document to work with a single run of pdflatexmk: (I've included my entire preamble to be sure)
% !TEX TS-program = pdflatexmk
\documentclass[12pt,a4paper,bibliography=totoc,listof=totoc]{scrartcl}
\setcounter{secnumdepth}{5}
\setcounter{tocdepth}{5}
\usepackage[applemac]{inputenc}
\usepackage[right]{eurosym}
\usepackage{microtype}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{graphics}
\usepackage{hyperref}
\usepackage[
backend=biber,
style=authoryear-ibid,
sortlocale=de_DE,
natbib=true,
maxcitenames=2,
maxbibnames=100,
url=false,
doi=true,
eprint=false,
hyperref=true
]{biblatex}
\bibliography{literature}
\usepackage{fancyhdr}
\usepackage[autostyle,german=guillemets,german=quotes]{csquotes}
\usepackage{setspace}
\onehalfspacing
\linespread{1.2}
\usepackage[xindy,toc,acronym,nomain]{glossaries}
\usepackage{geometry}
\geometry{a4paper, top=25mm, left=50mm, right=15mm, bottom=20mm,
headsep=12.7mm, footskip=12.7mm}
\pagestyle{fancy}
\fancypagestyle{plain}{\fancyhf{}\fancyhead[R]{\thepage}}
\fancyhf{}
\fancyhead[L]{}
\fancyhead[C]{}
\fancyhead[R]{\thepage}
\fancyfoot[C]{}
\renewcommand{\thefigure}{\arabic{figure}}
\makeglossaries
\renewcommand*\glspostdescription{\dotfill}
\begin{document}
\printglossaries
\newpage
\newacronym{gi}{GI}{The General Inquirer}
bla bla bla \gls{gi} bla bla bla
\end{document}
The entire console-output for the pdflatexmk run can be found here since it's quite lenghty: http://pastebin.com/y1aKpt8c
araratool trumps all :) Have you looked at it? – cmhughes Sep 23 '13 at 23:27ararasolution works, note that it will runpdflatexexactly three times whether not that is needed. For recompilations after small changes, fewer runs are normally needed, and on some documents more runs are needed.Latexmkis optimal (or close to it) on the number of runs, which is important for large documents. – John Collins Sep 24 '13 at 11:55