I would like to create a small Python script that will guess the number of compilations needed for one TEX file
Here is my algorithm.
Start with a folder containing only
myfile.texone 1st time to produce
myfile.texa 2nd time to produce
Compare the PDF to look for a change.
Go to step 3 as many times as something has changed.