tldr/pages/common/latexmk.md
2019-06-05 23:42:48 -03:00

659 B

latexmk

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

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

latexmk

  • Compile a dvi document from a specific source file:

latexmk {{source.tex}}

  • Compile a pdf document:

latexmk -pdf {{source.tex}}

  • Force the generation of a document even if there are errors:

latexmk -f {{source.tex}}

  • Clean up temporary tex files created for a specific tex file:

latexmk -c {{source.tex}}

  • Clean up all temporary tex files in the current directory:

latexmk -c