2016-01-12 18:06:05 +00:00
|
|
|
# latexmk
|
|
|
|
|
|
|
|
> Compile LaTeX source files into finished documents.
|
|
|
|
> Automatically does multiple runs when needed.
|
|
|
|
|
|
|
|
- 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}}`
|
|
|
|
|
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
|
|
|
|
|
|
|
- Clean up temporary tex files created for a specific tex file:
|
|
|
|
|
|
|
|
`latexmk -c {{source.tex}}`
|
|
|
|
|
2018-01-04 18:02:41 +00: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`
|