brycewang-stanford/Auto-Empirical-Research-Skills / skills/14-luischanci-claude-code-research-starter/dot-claude/skills/compile-latex
compile-latex
VerifiedCompile a LaTeX manuscript with pdflatex (3 passes + bibtex). Use when compiling the research paper.
Compile LaTeX Manuscript
Compile a LaTeX manuscript using the standard 3-pass sequence for full citation resolution.
Steps
-
Identify the file: Use
$ARGUMENTSas the base name (without.tex). If no argument, look for the main.texfile in the paper folder. -
Compile (from the paper folder):
pdflatex -interaction=nonstopmode $ARGUMENTS.tex bibtex $ARGUMENTS pdflatex -interaction=nonstopmode $ARGUMENTS.tex pdflatex -interaction=nonstopmode $ARGUMENTS.tex -
Check results:
- Grep for
Overfull \\hboxwarnings -- count them - Grep for
undefined citationsormissing references - Verify PDF was generated with non-zero size:
ls -la $ARGUMENTS.pdf - Report page count if
pdfinfois available
- Grep for
-
Report:
- Compilation: PASS / FAIL
- Warnings: N overfull hbox, N undefined citations
- PDF: exists, N pages, X KB
Notes
- Uses
pdflatexby default. Change toxelatexorlualatexif your project requires it. - The
.bibfile should be in the same directory or referenced with a relative path. - Parameter estimates loaded via
\input{}must exist at their referenced paths.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| add-product-e2e-evalpaperclipai/paperclipAdd or extend a Paperclip full-stack runner E2E workflow, fixture, matcher, or report evidence path for local or Daytona execution. | Stars: 115k | Updated | Claude CodeCodex | Verified | Install |
| add-runner-evalpaperclipai/paperclipAdd or extend a Paperclip Runner protocol evaluation definition, roster, assertion, or report fixture with provenance and narrow validation. | Stars: 115k | Updated | Claude CodeCodex | Verified | Install |
| diagnose-why-work-stoppedpaperclipai/paperclipCompatibility entry point for failed, stalled, looping, or over-recovered Paperclip work. Use fix-failed-paperclip-run for the full diagnosis, regression, repair, real verification, and green-PR workflow; honor an explicitly requested diagnosis-only scope. | Stars: 115k | Updated | Claude CodeCodex | Verified | Install |
| fix-failed-paperclip-runpaperclipai/paperclipDiagnose and fix failed, stuck, slow, or incorrectly blocked Paperclip tasks and runs. Use with a task/run URL or failure report to trace the root cause, prove a regression red then green, check second-order effects, verify the real workflow, and deliver a PR with passing checks. | Stars: 115k | Updated | Claude CodeCodex | Verified | Install |