tex

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

Install

All systems
curl cmd.cat/tex.sh
Debian Debian
apt-get install texlive-binaries
Ubuntu
apt-get install texlive-binaries
Arch Arch Linux
pacman -S texlive-binaries
image/svg+xml Kali Linux
apt-get install texlive-binaries
CentOS
yum install texlive-binaries
Fedora
dnf install texlive-binaries
Windows (WSL2)
sudo apt-get update sudo apt-get install texlive-binaries
Raspbian
apt-get install texlive-binaries

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

© tl;dr; authors and contributors