mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-31 05:41:49 +00:00
22 lines
459 B
Plaintext
22 lines
459 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# tex
|
|
|
|
> Compile a DVI document from TeX source files.
|
|
> More information: <https://www.tug.org/begin.html>.
|
|
|
|
- Compile a DVI document:
|
|
|
|
`tex {{source.tex}}`
|
|
|
|
- Compile a DVI document, specifying an output directory:
|
|
|
|
`tex -output-directory={{path/to/directory}} {{source.tex}}`
|
|
|
|
- Compile a DVI document, exiting on each error:
|
|
|
|
`tex -halt-on-error {{source.tex}}`
|