tldr/pages/linux/latexmk.md

20 lines
424 B
Markdown

# latexmk
> Automated LaTeX document generation.
- Compile a LaTeX file into a PDF file:
`latexmk -pdf {{filename.tex}}`
- Force `latexmk` to generate a document even if there are errors:
`latexmk -f {{filename.tex}}`
- Clean up the current directory from all files generated by `latexmk` except DVI, PostScript and PDF:
`latexmk -c`
- Run `latexmk` with minimal terminal output:
`latexmk -silent {{filename.tex}}`