tldr/pages/common/pdflatex.md

17 lines
384 B
Markdown
Raw Permalink Normal View History

# 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}}`