aris-paper-compile

Compiles LaTeX papers to PDF, auto-fixes errors, and verifies submission readiness.

1.1k|116|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/OpenLAIR/dr-claw --skill aris-paper-compile
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aris-paper-compile
Source: https://github.com/OpenLAIR/dr-claw/tree/main/skills/aris-paper-compile
Command: npx skills add https://github.com/OpenLAIR/dr-claw --skill aris-paper-compile

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Compiling an academic LaTeX paper into a submission-ready PDF often involves tedious multi-pass builds, cryptic error logs, undefined references, and venue-specific page limit checks. This Skill automates the entire compile-fix-verify loop so you get a clean, compliant PDF without manual debugging.

Core Features & Use Cases

  • Automated Compilation: Runs latexmk with pdflatex/xelatex, handles BibTeX passes, and keeps a compile.log for debugging.
  • Error Diagnosis and Auto-Fix: Detects and fixes missing packages, undefined references and citations, missing figures, BibTeX syntax errors, and overfull hboxes across up to 3 iterative attempts.
  • Submission Readiness Checks: Verifies page limits per venue (ICLR, NeurIPS, ICML, IEEE), font embedding, anonymity, leftover [VERIFY] markers, and stale section files.
  • Use Case: You finished writing a NeurIPS paper and need to submit tonight. Run this Skill to compile the paper, automatically fix a missing figure path and an undefined citation, and confirm the main body fits within the 9-page limit with all fonts embedded.

Quick Start

Compile the LaTeX paper in the paper/ directory into a submission-ready PDF and fix any errors you find.

Frequently Asked Questions about aris-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 automatically?

Use latexmk with the -pdf flag to run pdflatex and BibTeX in the correct multi-pass sequence automatically. This Skill runs latexmk -pdf -interaction=nonstopmode on main.tex, then parses compile.log to fix errors and recompiles up to 3 times.

How to fix undefined references and citations in LaTeX?

Undefined references mean the \label is missing or mismatched with the \ref, while undefined citations mean the key is absent from references.bib. The Skill greps compile.log for these warnings, locates the source line, and adds the missing label or BibTeX entry.

Does pdflatex support Chinese or CJK characters in papers?

Standard pdflatex has limited CJK support; use xelatex or lualatex engines instead for CJK and custom fonts. The Skill supports switching the engine from the default pdflatex to xelatex when needed.

How do I check if my paper fits the NeurIPS or ICLR page limit?

For ML conferences, count pages from the first page through the end of the Conclusion section, excluding references and appendix. The Skill uses pdftotext to locate where Conclusion ends and References begin, then compares against limits like 9 pages for ICLR and NeurIPS.

Why does my PDF get rejected for non-embedded fonts?

Some venues reject PDFs where fonts are not fully embedded in the file. Run pdffonts main.pdf and confirm every font shows embedded; the Skill includes this check in its submission readiness verification step.