paper-compile

Compile LaTeX papers into PDFs while diagnosing build errors.

Updated May 20, 2026
One-click install
npx skills add https://github.com/lightrain-a/medtrace-aris --skill paper-compile-lightrain-a
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: paper-compile
Source: https://github.com/lightrain-a/medtrace-aris/tree/main/.vendor/aris/skills/paper-compile
Command: npx skills add https://github.com/lightrain-a/medtrace-aris --skill paper-compile-lightrain-a

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Compiling a LaTeX paper into a correct, submission-ready PDF is often blocked by missing packages, broken figures, undefined citations/references, and page-limit surprises.

Core Features & Use Cases

  • Reliable LaTeX compilation with recovery: Uses latexmk to run multi-pass builds, then retries up to a fixed limit while diagnosing compile.log errors.
  • Auto-diagnosis for common failure modes: Detects missing .sty packages, undefined references/citations, missing figure files, BibTeX syntax issues, and leftover [VERIFY] markers.
  • Submission readiness checks: Confirms the PDF exists, checks pages and basic validity signals, and includes venue-aware guidance for page-count rules.
  • Use Case: When preparing an academic submission, run this to turn your paper/ main.tex + sections + figures + references.bib into a validated PDF that is less likely to fail on build errors or violate page limits.

Quick Start

Use this skill when you want to compile your LaTeX paper into a PDF and fix build errors automatically by saying: compile paper.

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 build errors automatically?

Compiling a LaTeX paper into a PDF requires running latexmk multi-pass builds and parsing compile.log to diagnose and resolve missing packages, undefined citations, and BibTeX syntax errors automatically.

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

LaTeX compilation often fails with undefined references due to broken BibTeX passes or missing figure files; this Skill detects these specific failure patterns in compile.log and iterates builds to resolve them.

Can I check if my compiled PDF meets conference or journal page limits?

You can check if your compiled PDF meets conference or journal page limits because this Skill verifies PDF existence, checks page counts, and provides venue-aware guidance for submission readiness.

What's the best way to diagnose missing .sty packages and BibTeX syntax issues during LaTeX compilation?

The best way to diagnose missing .sty packages and BibTeX syntax issues is by parsing compile.log for failure patterns, which this Skill does to auto-diagnose and retry builds up to a fixed maximum attempt count.

Do I need a specific directory structure to compile a research paper into a submission-ready PDF?

Yes, you need a paper/ directory containing main.tex, sections/*.tex, figure assets, and references.bib to use this Skill for compiling a research paper into a submission-ready PDF for conference or journal workflows.

What happens when LaTeX compilation hits maximum retries and still fails?

When LaTeX compilation hits the maximum attempt count and still fails, the Skill reports the unmatched compile.log errors, including missing files and leftover [VERIFY] markers, preventing a falsely validated PDF.