mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
22 lines
481 B
Plaintext
22 lines
481 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|