tldr/pages/common/latexmk.md
85pando 9a3eac64c0 Add pages for latexmk and pdflatex
Pdflatex and latexmk are two tools to create Output documents from LaTeX source files.

Added colons instead of full stops to make `lint` happy.
2016-01-16 09:47:14 +01:00

551 B

latexmk

Compile LaTeX source files into finished documents. Automatically does multiple runs when needed.

  • 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}}

  • Clean up all temporary tex files in the folder:

latexmk -c

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

latexmk -c {{source.tex}}

  • Clean up temporary tex and output files:

latexmk -C