latexmk: add continuous preview example (#12627)

* latexmk: add continuous preview example

* latexmk: use path/to/file format
pull/28/head
Damien Pollet 2024-04-10 07:16:09 +02:00 committed by GitHub
parent 735dfc1adb
commit 3a70c86900
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 4 deletions

View File

@ -10,19 +10,23 @@
- Compile a DVI document from a specific source file: - Compile a DVI document from a specific source file:
`latexmk {{source.tex}}` `latexmk {{path/to/source.tex}}`
- Compile a PDF document: - Compile a PDF document:
`latexmk -pdf {{source.tex}}` `latexmk -pdf {{path/to/source.tex}}`
- Open the document in a viewer and continuously update it whenever source files change:
`latexmk -pvc {{path/to/source.tex}}`
- Force the generation of a document even if there are errors: - Force the generation of a document even if there are errors:
`latexmk -f {{source.tex}}` `latexmk -f {{path/to/source.tex}}`
- Clean up temporary TEX files created for a specific TEX file: - Clean up temporary TEX files created for a specific TEX file:
`latexmk -c {{source.tex}}` `latexmk -c {{path/to/source.tex}}`
- Clean up all temporary TEX files in the current directory: - Clean up all temporary TEX files in the current directory: