Files
tldr/pages/common/latexmk.md
bl-ue 8ebd171d6f *: fix typos reported by Hunspell (#5848)
Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com>
Co-authored-by: Seth Falco <seth@falco.fun>
Co-authored-by: Patrice Denis <patricedenis@users.noreply.github.com>
2021-05-20 16:13:41 -04:00

30 lines
659 B
Markdown

# 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`