paper-compile

Compile LaTeX papers to PDF and fix common compilation errors.

1|Updated Mar 24, 2026
One-click install
npx skills add https://github.com/kitcaf/skills --skill paper-compile-kitcaf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: paper-compile
Source: https://github.com/kitcaf/skills/tree/main/skills/skills-codex/skills/paper-compile
Command: npx skills add https://github.com/kitcaf/skills --skill paper-compile-kitcaf

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill compiles LaTeX papers to PDF, fixes common compilation errors, and verifies the output to ensure a submission-ready document.

Core Features & Use Cases

  • Automated LaTeX compilation: orchestrates latexmk with appropriate engines and flags to produce main.pdf.
  • Error diagnosis & auto-fix: detects missing packages, undefined references, or missing figures and suggests/implements fixes.
  • Output verification: checks for successful PDF generation, page count, and presence of final figures/tables for conference submissions.

Quick Start

Run latexmk -pdf -interaction=nonstopmode main.tex in the paper/ directory to produce a submission-ready PDF.

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 to PDF and fix undefined references automatically?

Automated LaTeX paper compilation uses latexmk and pdflatex with nonstopmode to produce main.pdf, detecting missing packages or undefined references and implementing fixes during iterative compile cycles to yield a submission-ready document.

What is the best way to handle LaTeX compilation errors for conference submissions?

Handling LaTeX compilation errors for conference submissions involves automated diagnosis of missing figures or packages, applying fixes, and verifying the final PDF page count and presence of figures or tables to ensure submission readiness.

Do I need latexmk to automate pdflatex compilation cycles for my paper?

Yes, latexmk orchestrates pdflatex engine options and iterative compile cycles to resolve references and bibliography, automatically verifying successful PDF generation and page counts without manual intervention.

How does automated LaTeX compilation verify output for conference submissions?

Automated LaTeX compilation verifies output by checking for successful main.pdf generation, confirming the page count, and validating the presence of final figures and tables required for conference submissions.

Why does my LaTeX paper fail to compile with undefined references and missing packages?

LaTeX compilation fails with undefined references and missing packages when iterative cycles are incomplete; automated error diagnosis detects these issues, suggests fixes, and recompiles using latexmk to produce a valid PDF.