Compile LaTeX to PDF using pdflatex + bibtex cycle
Compile the paper from LaTeX source to PDF.
/build-paper -- full compile cycle for main.tex/build-paper --quick -- single pdflatex pass (faster, no bibliography update)/build-paper path/to/file.tex -- compile a specific fileUse the pdflatex and bibtex paths from canonical local state reported by tools/bootstrap.py audit (or a repo-root CLAUDE.local.md compatibility shim if present). The general pattern:
Full build:
cd {latex_dir} && pdflatex -interaction=nonstopmode {file} && bibtex {stem} && pdflatex -interaction=nonstopmode {file} && pdflatex -interaction=nonstopmode {file}
Quick build:
cd {latex_dir} && pdflatex -interaction=nonstopmode {file}
IMPORTANT: Always cd to the directory containing the .tex file before compiling.
BUILD REPORT
============
Status: SUCCESS / FAILED
Warnings: N
Errors: N
[list of warnings if any]
[list of errors if any]
Output: {latex_dir}/{stem}.pdf
.bib file has the key\usepackage declarations