I script my latex build in my source build. Sometimes it happens that I get this warning when I change something:
LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right.
I found this question. But the solution just to run the command multiple times is not really a nice solution.
Is there a way to tell pdflatex to build until the Labels and cross-references are okay?
$pdflatex --version pdfTeX 3.1415926-1.40.10-2.2 (TeX Live 2009/Debian) kpathsea version 5.0.0 Copyright 2009 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX). There is NO warranty. Redistribution of this software is covered by the terms of both the pdfTeX copyright and the Lesser GNU General Public License. For more information about these matters, see the file named COPYING and the pdfTeX source. Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX). Compiled with libpng 1.2.46; using libpng 1.2.46 Compiled with zlib 188.8.131.52; using zlib 184.108.40.206 Compiled with poppler version 0.18.2