HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

tex — Compile a DVI document from TeX source files. More information: <https://www.tug.org/begin.html>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
documentcommandtexfromcompileclidvi

Problem

How to use the tex command: Compile a DVI document from TeX source files. More information: <https://www.tug.org/begin.html>.

Solution

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

Code Snippets

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

Context

tldr-pages: common/tex

Revisions (0)

No revisions yet.