paper-compile

Compile LaTeX sources into submission-ready PDFs with latexmk and auto-fixes.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Compiling LaTeX manuscripts to a clean, submission-ready PDF while automatically addressing common build errors.

Core Features & Use Cases

  • Automated LaTeX compilation: runs latexmk with the right engine and multiple passes to ensure references, citations, and cross-references resolve.
  • Error diagnosis & auto-fix: detects missing packages, undefined references, missing figures, citation issues, and common BibTeX errors; suggests fixes or auto-corrects when possible.
  • Validation & verification: ensures the PDF exists, has adequate page count, and that fonts are embedded for submission readiness.

Quick Start

Compile the LaTeX project in paper/ and verify the resulting PDF is submission-ready.

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 a submission-ready PDF with resolved references?

Compile LaTeX to a submission-ready PDF by running latexmk with the right engine for multiple passes, ensuring references, citations, and cross-references fully resolve. It works on papers in the paper/ directory and supports pdflatex, xelatex, and lualatex.

Why does my LaTeX compilation fail with undefined references or missing citations?

LaTeX compilation failures from undefined references or missing citations are diagnosed and auto-fixed by detecting missing packages, missing figures, and common BibTeX errors. The tool suggests fixes or auto-corrects issues across typical conference or journal workflows.

What do I need to compile a research paper using latexmk and BibTeX?

To compile a research paper using latexmk and BibTeX, you need pdflatex, latexmk, and bibtex prerequisites installed, a main.tex file in the paper/ directory, and the tool enforces a maximum compile attempts to prevent infinite build loops.

Does this LaTeX compilation tool verify font embedding and page count for journal submission?

Yes, the LaTeX compilation tool verifies font embedding and validates output page count for submission readiness. It ensures the PDF exists, has adequate pages, and checks reference integrity to meet standard journal or conference requirements.

Can I use xelatex or lualatex instead of pdflatex for multi-pass builds?

You can use xelatex or lualatex instead of pdflatex for multi-pass builds. The compilation tool supports multiple engines and handles multi-pass builds with latexmk, BibTeX, and automatic figure and citation fixes across typical workflows.

What is the best way to auto-fix missing packages and BibTeX errors during LaTeX compilation?

The best way to auto-fix missing packages and BibTeX errors during LaTeX compilation is using an automated tool that detects these common issues, suggests appropriate fixes, and auto-corrects them while running multi-pass latexmk builds to ensure a clean PDF output.