2016-01-12 19:06:05 +01: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 19:06:05 +01:00
|
|
|
|
2021-05-20 16:13:41 -04:00
|
|
|
- Compile a DVI (Device Independent file) document from every source:
|
2016-01-12 19:06:05 +01:00
|
|
|
|
|
|
|
`latexmk`
|
|
|
|
|
2021-05-20 16:13:41 -04:00
|
|
|
- Compile a DVI document from a specific source file:
|
2016-01-12 19:06:05 +01:00
|
|
|
|
|
|
|
`latexmk {{source.tex}}`
|
|
|
|
|
2021-08-15 19:59:09 +02:00
|
|
|
- Compile a PDF document:
|
2016-01-12 19:06:05 +01:00
|
|
|
|
|
|
|
`latexmk -pdf {{source.tex}}`
|
|
|
|
|
2018-01-04 23:32:41 +05:30
|
|
|
- Force the generation of a document even if there are errors:
|
2016-01-12 19:06:05 +01:00
|
|
|
|
2018-01-04 23:32:41 +05:30
|
|
|
`latexmk -f {{source.tex}}`
|
2016-01-12 19:06:05 +01:00
|
|
|
|
2021-08-15 19:59:09 +02:00
|
|
|
- Clean up temporary TEX files created for a specific TEX file:
|
2016-01-12 19:06:05 +01:00
|
|
|
|
|
|
|
`latexmk -c {{source.tex}}`
|
|
|
|
|
2021-08-15 19:59:09 +02:00
|
|
|
- Clean up all temporary TEX files in the current directory:
|
2016-01-12 19:06:05 +01:00
|
|
|
|
2018-01-04 23:32:41 +05:30
|
|
|
`latexmk -c`
|