paper-compile

Compile LaTeX papers to PDF with latexmk and verify output.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Compile LaTeX papers to PDF, fix errors, and verify output.

Core Features & Use Cases

  • Automated LaTeX compilation using latexmk for multi-pass builds and engine selection (pdflatex, xelatex, lualatex) to produce a stable PDF.
  • Error diagnosis and auto-fix that detects missing packages, undefined references, and missing figures, offering guided repairs.
  • Post-build verification including PDF existence, page count checks, font embedding, and reference integrity to ensure submission readiness.

Quick Start

Provide your LaTeX project in the paper/ directory and run the paper-compile skill to build a PDF, fix errors, and verify the output.

Frequently Asked Questions about paper-compile

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

FAQPage Schema
How do I compile LaTeX to PDF automatically and fix undefined references?

Automated LaTeX compilation uses latexmk for multi-pass builds to resolve references, while error diagnosis detects missing packages and figures to offer guided repairs for a stable PDF.

Can I use xelatex or lualatex instead of pdflatex for LaTeX compilation?

Yes, automated LaTeX compilation supports engine selection including pdflatex, xelatex, and lualatex to produce a stable PDF tailored to your document's font and package requirements.

How do I verify a PDF is submission-ready after compiling a LaTeX paper?

Post-build verification checks PDF existence, page count, font embedding, and reference integrity to ensure your compiled LaTeX document meets submission readiness criteria.

Why does my LaTeX compilation fail with missing figures and undefined references?

Error diagnosis detects missing packages, undefined references, and missing figures during LaTeX compilation, offering guided repairs to resolve common build failures automatically.

Do I need latexmk installed to automate LaTeX multi-pass builds?

Yes, latexmk drives the multi-pass LaTeX compilation process, handling engine selection and iterative builds to ensure all references and bibliographies resolve correctly in the final PDF.