latexmk Command Examples

Compile LaTeX source files into finished documents. Automatically does multiple runs when needed. More information: https://mg.readthedocs.io/latexmk.html.

latexmk

latexmk {{path/to/source.tex}}

latexmk -pdf {{path/to/source.tex}}

latexmk -pvc {{path/to/source.tex}}

latexmk -f {{path/to/source.tex}}

latexmk -c {{path/to/source.tex}}

latexmk -c