paper-compile

Compile LaTeX projects into submission-ready PDFs with latexmk.

Updated Apr 26, 2026
One-click install
npx skills add https://github.com/jandan138/Auto-claude-code-research-in-sleep --skill paper-compile-jandan138
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: paper-compile
Source: https://github.com/jandan138/Auto-claude-code-research-in-sleep/tree/main/skills/paper-compile
Command: npx skills add https://github.com/jandan138/Auto-claude-code-research-in-sleep --skill paper-compile-jandan138

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates compiling LaTeX projects into a submission-ready PDF, auto-fixing common errors and verifying the final output.

Core Features & Use Cases

  • Automated multi-pass LaTeX build with latexmk
  • Auto-fix common compilation errors (missing packages, undefined refs)
  • Verification: page count, embedded fonts, and output checks for submission

Quick Start

Provide the LaTeX project directory (containing main.tex and references.bib), and I will compile it to a submission-ready PDF while fixing common errors.

Frequently Asked Questions about paper-compile

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically compile a LaTeX project to a submission-ready PDF?

To automatically compile a LaTeX project to a submission-ready PDF, provide a directory containing main.tex and references.bib. The Skill runs multi-pass builds with latexmk, handles bibtex, and outputs the final PDF with a compile log.

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

LaTeX compilation often fails due to undefined references or missing packages, but this Skill auto-fixes common errors during multi-pass builds. It runs up to a maximum number of attempts to resolve typical issues and verify the final output.

Do I need pdflatex and latexmk installed to compile LaTeX documents?

Yes, you need pdflatex and latexmk installed to compile LaTeX documents with this Skill. It checks for these prerequisites before starting the automated multi-pass build process to ensure a submission-ready PDF.

Can I compile a LaTeX document organized with sections and a bibtex bibliography?

Yes, you can compile a LaTeX document organized with main.tex, references.bib, and sections/*.tex files. The Skill handles bibtex integration and multi-pass builds to resolve citations and generate the final PDF.

What is the best way to verify a PDF has correct fonts and page count for journal submission?

The best way to verify a PDF has correct fonts and page count for journal submission is using automated verification after compiling. This Skill checks embedded fonts and page count to ensure the output meets submission requirements.

What file structure is required for automated LaTeX compilation?

Automated LaTeX compilation requires a project directory organized with main.tex, references.bib, and section files under a sections subdirectory. This structure allows the Skill to properly handle bibtex and multi-pass builds.