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
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.