paper-compile

Compile LaTeX sources into a submission-ready PDF with latexmk.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines compiling LaTeX projects into a clean, submission-ready PDF by automating builds and addressing common errors.

Core Features & Use Cases

  • Automated Compilation: Run latexmk with pdflatex/xelatex/lualatex as needed to produce main.pdf.
  • Error Diagnosis & Auto-Fix: Detect missing packages, undefined references, and missing figures; auto-suggest fixes or guide user steps.
  • Prerequisite & Validation: Verify LaTeX and BibTeX availability, ensure required files exist, and check final PDF integrity.

Quick Start

Run the paper-compile skill in your LaTeX project directory to generate paper/main.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 LaTeX to PDF and fix undefined references?

To compile LaTeX to PDF, run automated multi-pass builds using latexmk with your chosen engine, resolving undefined references through iterative bibtex passes and error diagnosis to produce a submission-ready document.

Why does my LaTeX compilation fail with missing figures or packages?

LaTeX compilation fails when required files are missing, but an iterative error-diagnosis workflow detects missing packages and figures during the build, auto-suggesting fixes or guiding you through the necessary steps to complete the PDF.

Do I need latexmk and bibtex installed to compile academic papers?

Yes, you need latexmk and bibtex installed. The compilation process verifies LaTeX and BibTeX availability as prerequisites before running multi-pass builds to ensure bibliography management and figure references resolve correctly.

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

Yes, you can use xelatex or lualatex. The compilation process supports engine choices including pdflatex, xelatex, and lualatex, applying the appropriate engine to generate your main.pdf based on your project requirements.

What is the best way to automate multi-pass LaTeX builds for conference submissions?

The best way to automate multi-pass LaTeX builds is using latexmk to manage engine selection and bibliography passes, ensuring all references resolve correctly for a submission-ready PDF without manual intervention.

How to validate final PDF integrity after compiling a LaTeX project?

To validate final PDF integrity after compiling, the workflow checks the generated main.pdf output to ensure the file exists and is structurally sound, confirming the LaTeX project compiled into a complete submission-ready document.