latexmk

latexmk

TLDR

Compile a dvi (DeVice Independent file) document from every source

$ latexmk
copy

Compile a dvi document from a specific source file

$ latexmk [source.tex]
copy

Compile a pdf document

$ latexmk -pdf [source.tex]
copy

Force the generation of a document even if there are errors

$ latexmk -f [source.tex]
copy

Clean up temporary tex files created for a specific tex file

$ latexmk -c [source.tex]
copy

Clean up all temporary tex files in the current directory

$ latexmk -c
copy

Copied to clipboard
sandbox