tex

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

tex source.tex

tex -output-directory=path/to/directory source.tex

tex -halt-on-error source.tex