paper-compile

Compile LaTeX manuscripts into PDFs with integrity checks and bibliography detection.

7|1|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/Shiien/Self-Evolved-Research-Framework --skill paper-compile-shiien
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: paper-compile
Source: https://github.com/Shiien/Self-Evolved-Research-Framework/tree/main/skills/paper-compile
Command: npx skills add https://github.com/Shiien/Self-Evolved-Research-Framework --skill paper-compile-shiien

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates end-to-end LaTeX PDF compilation by performing pre-compile integrity checks, locating the main TeX file, and producing a finalized PDF, reducing manual debugging and wasted compute.

Core Features & Use Cases

  • Pre-compile integrity checks: validate that all inputs, graphics, and bibliography references exist before running pdflatex.
  • Main TeX discovery: locate the primary document under paper/papers with preferred candidate names and auto-select if unambiguous.
  • Bibliography tool detection: choose between bibtex or biber based on document usage and tool availability.
  • Three-pass compilation pipeline: execute the standard LaTeX sequence to resolve references and citations, producing a stable PDF.
  • Error parsing and guidance: parse TeX errors and provide actionable feedback for quick fixes.

Quick Start

Run paper-compile after finishing writing-draft to generate the final PDF.

Frequently Asked Questions about paper-compile

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

FAQPage Schema
How do I automate LaTeX PDF compilation with bibliography and reference resolution?▼

Automating LaTeX PDF compilation requires running a multi-pass pipeline with bibtex or biber to resolve citations. This skill executes pre-compile integrity checks and a three-pass pdflatex sequence to produce a stable PDF automatically.

Why does my LaTeX PDF build fail due to missing graphics or bibliography references?▼

LaTeX PDF builds fail when inputs, graphics, or bibliography references are missing. Pre-compile integrity checks validate that all required files exist before running pdflatex, preventing wasted compute and parsing errors mid-compilation.

How to choose between bibtex and biber for bibliography compilation?▼

Choosing between bibtex and biber depends on document usage and tool availability. This skill detects the appropriate bibliography tool automatically based on the manuscript configuration, ensuring correct reference resolution.

Can I automatically locate the main TeX file for compilation in a research project?▼

Locating the main TeX file in a research project can be automated by searching under paper/papers directories. This skill discovers the primary document using preferred candidate names and auto-selects it when unambiguous.

What's the best way to parse TeX errors during a PDF build for quick fixes?▼

Parsing TeX errors during a PDF build is best handled by extracting actionable feedback from compilation logs. This skill parses errors and provides guidance for quick fixes after the three-pass compilation pipeline completes.

Do I need to manually run multiple pdflatex passes to resolve references and citations?▼

Running multiple pdflatex passes manually is unnecessary when using an automated pipeline. This skill executes the standard three-pass LaTeX sequence to resolve references and citations, outputting a finalized PDF to the outputs/paper directory.