I'm compiling my .tex file using
latexmk, because it's the easiest way to have my code compiled multiple times until the final document is stable.
The issue is that such code needs to be executed several times - actually, a random amount of times - because it uses several images that tend to appear in the wrong position unless the code gets executed again and again and again until the following warning goes away from the log:
LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right.
The point is that after several times that the code gets compiled I receive this message in the terminal:
Latexmk: Did not finish processing file 'generatore dossier.tex': 'pdflatex' needed too many passes
Is there a way to change the maximum amount of runs that
latexmk does before calling it quits?