paper-compile

Compile LaTeX papers to PDF with diagnostics and compliance checks.

77|16|Updated May 9, 2026
One-click install
npx skills add https://github.com/Lambenthan/empiricalwiki --skill paper-compile-lambenthan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: paper-compile
Source: https://github.com/Lambenthan/empiricalwiki/tree/main/.claude/skills/paper-compile
Command: npx skills add https://github.com/Lambenthan/empiricalwiki --skill paper-compile-lambenthan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves the frustrating problem of turning a LaTeX draft into a submission-ready PDF by handling compilation failures, common formatting and dependency issues, and mandatory compliance checks such as page limits, anonymous requirements, and [UNCONFIRMED] blockers.

Core Features & Use Cases

  • LaTeX compilation with structured diagnostics: Runs latexmk to compile paper/main.tex and classifies errors and warnings (missing packages, undefined references/citations, missing figures, syntax errors, and layout issues).
  • Optional automated repair: With --fix, attempts safe, targeted remediation such as installing missing TeX packages (when available), inserting placeholder labels, adjusting includegraphics paths, and adding placeholder figures where appropriate, then retries up to three rounds.
  • Submission verification & checklist generation: Verifies page count, anonymity heuristics, [UNCONFIRMED] hard-block status, font embedding, TODO/FIXME/XXX markers, abstract presence, and figure completeness, and produces a compile report plus a submission checklist.

Quick Start

Run paper-compile with the target paper directory and enable fixing by providing the command instruction: run /paper-compile paper/ --fix.

Frequently Asked Questions about paper-compile

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I compile a LaTeX paper into a submission-ready PDF?

Compiling a LaTeX paper into a submission-ready PDF requires running latexmk on paper/main.tex to generate the document while automatically diagnosing and categorizing build errors, missing packages, and undefined references.

How can I fix missing figures and undefined references during LaTeX compilation?

Fix missing figures and undefined references during LaTeX compilation by enabling automated repair with --fix, which inserts placeholder labels, adjusts includegraphics paths, installs missing TeX packages, and retries the build for up to three rounds.

What is included in a LaTeX submission verification checklist?

A LaTeX submission verification checklist confirms page count, anonymity heuristics, font embedding, unresolved [UNCONFIRMED] citations, TODO markers, abstract presence, and figure completeness to ensure full venue compliance.

Why does my LaTeX submission fail anonymous compliance checks?

Your LaTeX submission might fail anonymous compliance checks if the compiler's anonymity heuristics detect author-identifying information, which is then flagged in the generated compile report alongside other compliance blockers like unresolved [UNCONFIRMED] citations.

Can I automatically install missing TeX packages when my PDF compilation fails?

Yes, you can automatically install missing TeX packages when your PDF compilation fails by running the compiler with the --fix flag, enabling safe targeted remediation that attempts package installation before retrying the build.

What are common limitations of automated LaTeX build repair?

Limitations of automated LaTeX build repair include its restriction to safe targeted remediation like adjusting includegraphics paths or adding placeholder figures, meaning complex syntax errors or layout issues may still require manual intervention after the three retry rounds.