Skip to content

brycewang-stanford/Auto-Empirical-Research-Skills / skills/14-luischanci-claude-code-research-starter/dot-claude/skills/compile-latex

compile-latex

Verified

Compile 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

  1. Identify the file: Use $ARGUMENTS as the base name (without .tex). If no argument, look for the main .tex file in the paper folder.

  2. Compile (from the paper folder):

    pdflatex -interaction=nonstopmode $ARGUMENTS.tex
    bibtex $ARGUMENTS
    pdflatex -interaction=nonstopmode $ARGUMENTS.tex
    pdflatex -interaction=nonstopmode $ARGUMENTS.tex
    
  3. Check results:

    • Grep for Overfull \\hbox warnings -- count them
    • Grep for undefined citations or missing references
    • Verify PDF was generated with non-zero size: ls -la $ARGUMENTS.pdf
    • Report page count if pdfinfo is available
  4. Report:

    • Compilation: PASS / FAIL
    • Warnings: N overfull hbox, N undefined citations
    • PDF: exists, N pages, X KB

Notes

  • Uses pdflatex by default. Change to xelatex or lualatex if your project requires it.
  • The .bib file should be in the same directory or referenced with a relative path.
  • Parameter estimates loaded via \input{} must exist at their referenced paths.
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: 115kUpdated Claude CodeCodexVerifiedInstall
add-runner-evalpaperclipai/paperclipAdd or extend a Paperclip Runner protocol evaluation definition, roster, assertion, or report fixture with provenance and narrow validation.Stars: 115kUpdated Claude CodeCodexVerifiedInstall
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: 115kUpdated Claude CodeCodexVerifiedInstall
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: 115kUpdated Claude CodeCodexVerifiedInstall