1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 21:42:08 +02:00
tldr/pages/common/tex.md

16 lines
366 B
Markdown

# 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}}`