1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 15:22:08 +02:00
tldr/pages/common/latexmk.md
2021-08-15 19:59:09 +02: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