--- syntax: markdown tags: [tldr, common] source: https://github.com/tldr-pages/tldr.git --- # pdflatex > Compile a PDF document from LaTeX source files. > More information: . - 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}}`