mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-01 09:42:24 +00:00
22 lines
468 B
Plaintext
22 lines
468 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# latex
|
|
|
|
> Compile a DVI document from LaTeX source files.
|
|
> More information: <https://www.latex-project.org>.
|
|
|
|
- Compile a DVI document:
|
|
|
|
`latex {{source.tex}}`
|
|
|
|
- Compile a DVI document, specifying an output directory:
|
|
|
|
`latex -output-directory={{path/to/directory}} {{source.tex}}`
|
|
|
|
- Compile a DVI document, exiting on each error:
|
|
|
|
`latex -halt-on-error {{source.tex}}`
|