paper-compile

Automates LaTeX compilation via latexmk with configurable engines and fixes build errors.

Updated Apr 1, 2026
One-click install
npx skills add https://github.com/Wenwen555/ARIS-LVLM --skill paper-compile-wenwen555
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: paper-compile
Source: https://github.com/Wenwen555/ARIS-LVLM/tree/main/skills/paper-compile
Command: npx skills add https://github.com/Wenwen555/ARIS-LVLM --skill paper-compile-wenwen555

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates compiling LaTeX papers into a submission-ready PDF, detects and fixes common build errors, and verifies output integrity so researchers can focus on writing.

Core Features & Use Cases

  • Automated LaTeX compilation: using latexmk with configurable engines (pdflatex/xelatex/lualatex) and multi-pass builds.
  • Error diagnosis & auto-fix: detects missing packages, undefined references, missing figures, and BibTeX issues, and suggests fixes.
  • Output verification: validates that main.pdf is produced, checks page counts, and ensures fonts are embedded when needed.
  • Use Case: a researcher with a large LaTeX project in paper/ can run the skill to produce a clean, submission-ready PDF for conference submission.

Quick Start

Invoke the paper-compile skill with the LaTeX project in the paper/ directory to generate a submission-ready 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 a LaTeX paper into a PDF and fix undefined references automatically?

To compile a LaTeX paper into a PDF, this skill uses latexmk to run multi-pass builds with bibtex or biber, automatically detecting and fixing undefined references and missing packages to produce a submission-ready main.pdf.

Why does my LaTeX build fail when using xelatex or lualatex instead of pdflatex?

LaTeX builds fail when font engine variations are misconfigured, but this skill handles configurable engines like pdflatex, xelatex, and lualatex, automatically diagnosing font issues and verifying font embedding in the final PDF.

What is the best way to automate BibTeX and biber resolution for a large LaTeX project?

The best way to automate BibTeX and biber resolution is using a multi-pass latexmk workflow, which this skill applies to detect missing references and fix citation issues automatically for up to MAX_COMPILE_ATTEMPTS.

Can I use latexmk to check page counts and verify output integrity for a conference submission?

Yes, you can use latexmk to check page counts and verify output integrity, as this skill validates that main.pdf is produced and ensures fonts are embedded for a clean conference or journal submission.

What should I do if my LaTeX project has missing figures or packages causing a build error?

If your LaTeX project has missing figures or packages causing a build error, this skill diagnoses the specific compilation failures and suggests fixes before retrying the build to generate the PDF.

Do I need a specific directory structure to compile a LaTeX paper with latexmk?

Yes, you need a paper/ directory containing your main TeX project and the latexmk tool installed, which allows the skill to automate the compilation process and produce a submission-ready PDF.