latex

Compile a DVI document from LaTeX source files. More information: <https://www.latex-project.org>.

Install

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

Compile a DVI document from LaTeX source files. More information: <https://www.latex-project.org>.

  • Compile a DVI document:
    latex source.tex
  • Compile a DVI document, specifying an output directory:
    latex -output-directory=path/to/directory source.tex
  • Compile a DVI document, exiting on each error:
    latex -halt-on-error source.tex

© tl;dr; authors and contributors