/paper-compile

Compile LaTeX papers with latexmk and verify submission readiness.

Updated May 23, 2026
One-click install
npx skills add https://github.com/duany049/multi-skill-orchestration --skill paper-compile-duany049
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: /paper-compile
Source: https://github.com/duany049/multi-skill-orchestration/tree/main/.claude/skills/paper-compile
Command: npx skills add https://github.com/duany049/multi-skill-orchestration --skill paper-compile-duany049

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires latexmk, pdfinfo, pdffonts, python3, sudo apt install texlive-full, brew install --cask mactex, tlmgr, and includes references (resource) and assets (resource) components.

What problem does it solve?

It eliminates the time-consuming trial-and-error process of compiling LaTeX papers and manually checking whether they meet venue submission requirements like page limits, anonymity rules, fonts, and unresolved [UNCONFIRMED] markers.

Core Features & Use Cases

  • LaTeX compile with structured error parsing: Runs latexmk, captures errors/warnings, and classifies issues such as missing packages, undefined references/citations, missing figures, and syntax errors.
  • Optional auto-fix loop: When enabled with --fix, attempts targeted repairs (installable missing TeX packages, placeholder labels/citations, figure path fixes, and syntax-level adjustments) with a capped number of recompile cycles.
  • Submission readiness verification: Checks page count, performs heuristic anonymity scanning, flags [UNCONFIRMED] as a hard blocker, verifies font embedding, and ensures content completeness (TODOs, missing figures/refs, and non-empty abstract).
  • Use case: You generated a paper draft that compiles “sometimes” but fails venue constraints; run this skill to produce a final PDF and a submission checklist that highlights exactly what is blocking or risky.

Quick Start

Run /paper-compile paper/ --checklist to compile and generate a detailed submission checklist for your paper draft.

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?

You can compile a LaTeX paper into a submission-ready PDF by running latexmk on main.tex, applying optional --fix repairs for missing packages or citations, and executing verification checks for page limits and anonymity.

How do I automatically fix undefined references and missing figures in latexmk?

Automatically fixing undefined references and missing figures in latexmk requires enabling the --fix option to trigger targeted repairs like placeholder label insertion and figure path adjustments within a capped recompile loop.

Does compiling LaTeX with latexmk check for double-blind anonymity requirements?

Compiling LaTeX with latexmk can check for double-blind anonymity requirements when paired with heuristic anonymity scanning, which flags potential author identifying information before final PDF submission.

Why does my LaTeX compilation fail venue submission due to unconfirmed markers?

Your LaTeX compilation fails venue submission due to unconfirmed markers because the verification process flags [UNCONFIRMED] markers as hard blockers, requiring you to resolve them before generating a submission-ready PDF.

Do I need texlive-full installed to auto-fix missing LaTeX packages during compilation?

You need texlive-full or equivalent TeX distributions installed to auto-fix missing LaTeX packages during compilation, as the --fix loop attempts to install missing packages and run syntax-level adjustments locally.

What is the best way to verify font embedding and page limits for a LaTeX PDF?

The best way to verify font embedding and page limits for a LaTeX PDF is using pdffonts and pdfinfo tools post-compilation, generating a COMPILE_REPORT checklist that highlights any blocking or risky formatting issues.