I would like to create a small Python script that will guess the number of compilations needed for one TEX file myfile.tex.
Here is my algorithm.
Start with a folder containing only
myfile.tex.Compile
myfile.texone 1st time to producemyfile-v1.pdf.Compile
myfile.texa 2nd time to producemyfile-v2.pdffor example.Compare the PDF to look for a change.
Go to step 3 as many times as something has changed.
latexmkknows when to stop). You can use someararadirectives to do that (for example), or you can do it manually bydiffing the PDF (make sure that there is no variable data in the pdf; see here) – Phelype Oleinik Mar 08 '21 at 12:33latexmk. Fordiffìng, I will look at your link. :-) – projetmbc Mar 08 '21 at 12:38araralooks very intersting! – projetmbc Mar 08 '21 at 12:45latexmk), with a rule set similar to the one in the answer I linked – Phelype Oleinik Mar 08 '21 at 12:50latexmk? – projetmbc Mar 08 '21 at 12:59pdflatexto avoid that can àf little changes. – projetmbc Mar 08 '21 at 13:01araragives. But if you just want to build the document without worries,latexmkis really good! – Phelype Oleinik Mar 08 '21 at 13:09