Rerun LaTeX automatically