Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Pdflatex Processor

Purpose

Compiles LaTeX documents to PDF using pdflatex.

How It Works

Discovers .tex files in the project and runs pdflatex on each file. Runs multiple compilation passes (configurable) to resolve cross-references and table of contents. Optionally uses qpdf to linearize the output PDF.

Source Files

  • Input: **/*.tex
  • Output: out/pdflatex/{relative_path}.pdf

Configuration

[processor.pdflatex]
pdflatex = "pdflatex"                  # The pdflatex command to run
runs = 2                               # Number of compilation passes
qpdf = true                           # Use qpdf to linearize output PDF
args = []                              # Additional arguments to pass to pdflatex
output_dir = "out/pdflatex"            # Output directory
extra_inputs = []                      # Additional files that trigger rebuilds when changed
KeyTypeDefaultDescription
pdflatexstring"pdflatex"The pdflatex executable to run
runsinteger2Number of compilation passes (for cross-references)
qpdfbooltrueUse qpdf to linearize the output PDF
argsstring[][]Extra arguments passed to pdflatex
output_dirstring"out/pdflatex"Output directory for PDF files
extra_inputsstring[][]Extra files whose changes trigger rebuilds