paper-compile

Compile LaTeX papers into verified PDFs with latexmk and iterative error fixes.

1|1|Updated May 19, 2026
One-click install
npx skills add https://github.com/zhuyingqin/ARIS-WEB --skill paper-compile-zhuyingqin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: paper-compile
Source: https://github.com/zhuyingqin/ARIS-WEB/tree/main/crates/runtime/assets/skills/paper-compile
Command: npx skills add https://github.com/zhuyingqin/ARIS-WEB --skill paper-compile-zhuyingqin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It solves the frustration of failing or broken LaTeX builds by automatically compiling a paper, diagnosing common errors, applying targeted fixes, and verifying the resulting PDF.

Core Features & Use Cases

  • LaTeX compilation automation: Uses latexmk (with selectable LaTeX engines) to build PDFs reliably with multi-pass compilation.
  • Auto-diagnosis and repair loop: Parses compile logs to fix frequent issues like missing packages/files, undefined references/citations, and BibTeX syntax errors.
  • Submission readiness validation: Checks for output existence, basic PDF sanity, undefined markers, and verifies venue-specific page-count rules (ML main-body vs IEEE total pages).

Quick Start

Ask the AI to run paper-compile with your LaTeX paper directory so it compiles main.tex into a verified main.pdf and fixes common build errors.

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?

To compile a LaTeX paper into a submission-ready PDF, run latexmk on main.tex to execute multi-pass compilation, parse compile logs to diagnose failures, and iteratively fix undefined references or missing files until a verified PDF is generated.

Why does my LaTeX build fail with undefined references and citations?

LaTeX builds fail with undefined references and citations due to incomplete multi-pass compilation or BibTeX syntax errors. An auto-diagnosis tool parses the compile.log to identify these issues, applies targeted fixes, and reruns latexmk to resolve the broken references.

How do I enforce venue-specific page count rules for conference submissions?

Enforcing venue-specific page count rules involves validating the compiled PDF against defined limits, such as checking ML main-body pages versus IEEE total pages. A submission readiness validation step detects and reports if the final PDF exceeds the configured MAX_PAGES.

Does latexmk work with projects that have separate bibliography and figure includes?

Yes, latexmk works with projects that have separate bibliography and figure includes. The compilation process handles main.tex projects containing BibTeX bibliographies, figure inclusions, and section files to produce a complete, submission-ready PDF.

How can I automatically fix missing packages or files during a LaTeX compilation?

Automatically fixing missing packages or files during LaTeX compilation requires an auto-repair loop that parses compile logs to detect the specific failures, applies the necessary fixes to the project structure, and iteratively reruns the build until successful.

What are the limitations of automated LaTeX compilation for journal submissions?

Limitations of automated LaTeX compilation include its reliance on a properly configured local environment with verified prerequisites, and it may not resolve complex BibTeX syntax errors or deeply nested custom package issues without manual intervention.