tldr/pages/common/tex.md

17 lines
366 B
Markdown
Raw Normal View History

# 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, halting on each error:
`tex -halt-on-error {{source.tex}}`