paper-compile

Compiles LaTeX papers to PDF with latexmk, auto-fixes errors, and verifies submission requirements.

Updated Jul 15, 2026
One-click install
npx skills add https://github.com/1549171506/shizhengmubangai1 --skill paper-compile-1549171506
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: paper-compile
Source: https://github.com/1549171506/shizhengmubangai1/tree/main/Desktop/123/empiricalwiki/i18n/en/skills/paper-compile
Command: npx skills add https://github.com/1549171506/shizhengmubangai1 --skill paper-compile-1549171506

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Compiling an academic LaTeX paper often involves cryptic errors, missing packages, undefined citations, and venue-specific requirements like page limits and anonymity. This Skill automates the compile-fix-verify cycle so you can produce a submission-ready PDF without manually debugging every LaTeX error. ## Core Features & Use Cases - Automated Compilation and Auto-Fix: Runs latexmk, parses errors (missing packages, undefined references, missing figures, syntax errors), and optionally applies fixes across up to 3 fix-compile rounds. - Submission Verification: Checks page count against venue limits, anonymity compliance, font embedding, [UNCONFIRMED] citation markers, TODO markers, and abstract presence. - Submission Checklist Report: Generates a structured compile report with pass/fail status per check, blocking issues, warnings, and next steps. - Use Case: After drafting a paper with /paper-draft, run this Skill to compile main.tex, automatically install a missing package, fix a broken figure path, and confirm the PDF meets the venue's 10-page anonymous submission limit. ## Quick Start Compile the paper in the paper/ directory with auto-fix enabled and generate a submission checklist.

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 to PDF and fix errors automatically?

Run the compile workflow on your paper directory containing main.tex. It executes latexmk, parses errors like missing packages and undefined references, and with the --fix flag applies corrections across up to 3 fix-compile rounds.

How to check if a LaTeX paper meets conference submission requirements?

The verification step checks page count against the venue limit, scans for anonymity violations like author names and acknowledgments, verifies font embedding with pdffonts, and flags unresolved [UNCONFIRMED] citation markers as submission blockers.

What tools are required for LaTeX compilation checks?

The workflow requires latexmk for compilation, plus pdfinfo and pdffonts from poppler-utils for page count and font embedding checks. If pdfinfo or pdffonts are missing, those checks are skipped and annotated as tool not available.

Why does LaTeX compilation fail with missing package errors?

Errors like File 'xxx.sty' not found mean the package is not installed in your TeX Live distribution. The auto-fix mode checks availability via tlmgr and installs it, or comments out the package line with a TODO annotation if it cannot be installed.

What are the limitations of automated LaTeX error fixing?

Auto-fix is limited to 3 fix-compile rounds to prevent infinite loops and only adds or corrects content without deleting hand-written text. Complex syntax errors may only produce location reports and suggestions rather than automatic fixes.