1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 23:42:07 +02:00
tldr/pages/common/pdftex.md

16 lines
388 B
Markdown

# pdftex
> Compile a PDF document from TeX source files.
> More information: <https://www.tug.org/applications/pdftex/>.
- Compile a PDF document:
`pdftex {{source.tex}}`
- Compile a PDF document, specifying an output directory:
`pdftex -output-directory={{path/to/directory}} {{source.tex}}`
- Compile a PDF document, exiting on each error:
`pdftex -halt-on-error {{source.tex}}`