There is a bit of discussion in related questions about automated LaTeX (re)compilation (e.g., here and here) and elsewhere on the web on rerunning the latex command in order to resolve all references.
Now how can I precisely determine from visual inspection (or a search query) in the log-file whether all references are resolved? That is, what is the precise set of messages that indicates that there are unresolved references? A regular-expression-like answer will be good.
(I know that I can mine the solutions to the above-cited SE.TeX post for an educated guess of an answer, but it seems like having an expert answer this and having that answer in one place in this forum will be useful for many people.)
hyperrefloads this. Towards the end of my log-file I get text like this: Package rerunfilecheck Info: File `rerunfilecheckdocumentation: "Since version 1.30.0 pdfTeX provides\pdfmdfivesumand\pdffilesize. These features are also available in LuaTeX, provided by packagepdftexcmds. Thus this packagererunfilecheckuses these features to detect file changes. This saves the packages from keeping the whole files in memory or in file copies. The drawback are different files with the same size and the same MD5 checksum (seldom, hopefully)." – Werner Sep 23 '12 at 03:27out-file is a definitive/reliable indication of one not needing to rerun thelatexcommand. Is it? – Lover of Structure Sep 23 '12 at 03:31.logfile. Even the.logfile carries a time/date stamp of the compile and is therefore not "consistent". – Werner Sep 23 '12 at 03:43out-file, because that one appears in my setup (withhyperref) in the output that's written to the log-file: see the "Package rerunfilecheck Info: File `rerunfilecheckwith options:\usepackage[mainaux,starttoc,partaux]{rerunfilecheck}– Lev Bishop Sep 23 '12 at 03:47etaremune. Others may also exist. – Werner Oct 07 '12 at 15:01latexmkcould possibly do this. – Lover of Structure Feb 25 '13 at 10:00latexmkactually definitively determines this. If this has been documented, perhaps someone familiar with this subject matter can add a link or more details here. – Lover of Structure Feb 25 '13 at 10:35