LinuxCommandLibrary

tex

TLDR

Compile document

$ tex [document.tex]
copy
Compile with jobname
$ tex -jobname=[output] [document.tex]
copy
Interaction mode
$ tex -interaction=nonstopmode [document.tex]
copy
Initialize format
$ tex -ini [format.tex]
copy

SYNOPSIS

tex [-interaction mode] [-jobname name] [options] file

DESCRIPTION

tex typesets documents. It's the original TeX engine.
Plain TeX format. No LaTeX macros.
DVI output. Device independent.
Mathematical typesetting. High quality.
Foundation for LaTeX. Base system.

PARAMETERS

-interaction MODE

Set mode (nonstopmode, batchmode).
-jobname NAME
Output base name.
-ini
Initialize format.
-output-directory DIR
Output location.
--help
Show help.

CAVEATS

DVI output only. Plain TeX macros. Use pdflatex for PDF.

HISTORY

TeX was created by Donald Knuth starting in 1977 for typesetting his books, especially mathematical content.

SEE ALSO

latex(1), pdftex(1), xetex(1), dvips(1)

Copied to clipboard