build-paper
community[skill]
Compile LaTeX to PDF using pdflatex + bibtex cycle
$
/plugin install ai-asset-pricingdetails
Build Paper Skill
Compile the paper from LaTeX source to PDF.
Examples
/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 file
Workflow
Full Build (default)
- Run pdflatex (first pass)
- Run bibtex
- Run pdflatex (second pass -- resolve references)
- Run pdflatex (third pass -- finalize)
- Check for errors/warnings
- Report result
Quick Build (--quick)
- Run single pdflatex pass
- Report result
Commands
Use 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.
Output
BUILD REPORT
============
Status: SUCCESS / FAILED
Warnings: N
Errors: N
[list of warnings if any]
[list of errors if any]
Output: {latex_dir}/{stem}.pdf
Common Issues
- Undefined references: Run full build (not quick)
- Missing citations: Check the
.bibfile has the key - Package errors: Check
\usepackagedeclarations - Font warnings: Usually harmless (font substitution)
technical
- github
- Alexander-M-Dickerson/ai-asset-pricing
- stars
- 49
- license
- MIT
- contributors
- 1
- last commit
- 2026-04-19T07:58:01Z
- file
- .claude/skills/build-paper/SKILL.md