2016-01-12 18:06:05 +00:00
|
|
|
# latexmk
|
|
|
|
|
|
|
|
> Compile LaTeX source files into finished documents.
|
|
|
|
> Automatically does multiple runs when needed.
|
2019-06-05 08:55:51 +01:00
|
|
|
> More information: <https://mg.readthedocs.io/latexmk.html>.
|
2016-01-12 18:06:05 +00:00
|
|
|
|
2021-05-20 21:13:41 +01:00
|
|
|
- Compile a DVI (Device Independent file) document from every source:
|
2016-01-12 18:06:05 +00:00
|
|
|
|
|
|
|
`latexmk`
|
|
|
|
|
2021-05-20 21:13:41 +01:00
|
|
|
- Compile a DVI document from a specific source file:
|
2016-01-12 18:06:05 +00:00
|
|
|
|
|
|
|
`latexmk {{source.tex}}`
|
|
|
|
|
2021-08-15 18:59:09 +01:00
|
|
|
- Compile a PDF document:
|
2016-01-12 18:06:05 +00:00
|
|
|
|
|
|
|
`latexmk -pdf {{source.tex}}`
|
|
|
|
|
2018-01-04 18:02:41 +00:00
|
|
|
- Force the generation of a document even if there are errors:
|
2016-01-12 18:06:05 +00:00
|
|
|
|
2018-01-04 18:02:41 +00:00
|
|
|
`latexmk -f {{source.tex}}`
|
2016-01-12 18:06:05 +00:00
|
|
|
|
2021-08-15 18:59:09 +01:00
|
|
|
- Clean up temporary TEX files created for a specific TEX file:
|
2016-01-12 18:06:05 +00:00
|
|
|
|
|
|
|
`latexmk -c {{source.tex}}`
|
|
|
|
|
2021-08-15 18:59:09 +01:00
|
|
|
- Clean up all temporary TEX files in the current directory:
|
2016-01-12 18:06:05 +00:00
|
|
|
|
2018-01-04 18:02:41 +00:00
|
|
|
`latexmk -c`
|