Sometimes, when I use the longtable
package I get a message in the output:
Package longtable Warning: Table widths have changed. Rerun LaTeX.
I read that it can be as often as three times that XeLaTeX must be run until the message disappears. So currently my deploy script re-runs XeLaTeX until the output no longer contains the string Rerun LaTeX
.
So, is this the official way (used by all packages) to detect that a re-run is necessary or is there another way like a specific return value? I can already rule out the existence of the .aux
file as an indicator, because that file is never deleted.
etarmune
is another package with a slightly different yet unique "rerun message". See How can I force LyX to rebuild intermediate files for clean PDF display? AFAIK there is no specific return value. – Werner Aug 25 '13 at 4:45latexmk
use hashing, etc. of.aux
files to work. – Joseph Wright♦ Aug 25 '13 at 6:55