mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
17 lines
388 B
Markdown
17 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, halting on each error:
|
||
|
|
||
|
`pdftex -halt-on-error {{source.tex}}`
|