latexmk: add continuous preview example (#12627)

* latexmk: add continuous preview example

* latexmk: use path/to/file format
This commit is contained in:
Damien Pollet
2024-04-10 10:46:09 +05:30
committed by GitHub
parent 735dfc1adb
commit 3a70c86900
+8 -4
View File
@@ -10,19 +10,23 @@
- Compile a DVI document from a specific source file:
`latexmk {{source.tex}}`
`latexmk {{path/to/source.tex}}`
- 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:
`latexmk -f {{source.tex}}`
`latexmk -f {{path/to/source.tex}}`
- 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: