Please see this post for context.
We can use
texi2dvi to get LaTeX to compile the correct number of times, and to insert a
bibtex call into the loop if necessary.
rubber is another wrapper script that can accomplish the same thing. (I've even heard of
latexmk through TextMate.)
The problem is that both wrappers fail on a compiler error (
pdflatex by default). This is a problem since I'm using
org-mode as a front end and I'm often not notified of small errors when using wrappers. Sometimes, changing a document and introducing an error can reset counters and I won't notice the counts are busted until I print out the document.
pdflatex many times manually in
nonstopmode seems to avoid these problems, and counters work as expected.
Do you know of any more latex wrappers, ones that might be more robust to these small errors? Are there any flags I can pass to the existing wrappers to make them "keep truckin'"?