tldr/pages/common/pdflatex.md

384 B

pdflatex

Compile a PDF document from LaTeX source files. More information: https://manned.org/pdflatex.

  • Compile a PDF document:

pdflatex {{source.tex}}

  • Compile a PDF document specifying an output directory:

pdflatex -output-directory={{path/to/directory}} {{source.tex}}

  • Compile a PDF document, exiting on each error:

pdflatex -halt-on-error {{source.tex}}