The latexmk program allows to automatically run latex and related commands as many times as needed to build the final document. It is an alternative or complement to Makefiles or similar functionality of integrated LaTeX editors.

It is available on CTAN and on its project site by the maintainer, John Collins.

See the manpage for more information.

There is a similar tool named LaTeX-Mk, which yet is distinct from latexmk.

history | show excerpt | excerpt history