render-pdf

Render Quarto replication books to PDF with LaTeX compilation and log auditing.

Updated Feb 26, 2026
One-click install
npx skills add https://github.com/naj2r/claude-econ-paper-template --skill render-pdf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: render-pdf
Source: https://github.com/naj2r/claude-econ-paper-template/tree/main/.claude/skills/render-pdf
Command: npx skills add https://github.com/naj2r/claude-econ-paper-template --skill render-pdf

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates producing publication-quality PDF output from a Quarto replication book by handling configuration toggles, LaTeX compilation, log collection, and post-build auditing so users avoid manual build errors and time-consuming troubleshooting.

Core Features & Use Cases

  • Config management: enable or restore the pdf: block in _quarto.yml to switch between HTML-only and PDF-capable builds.
  • Multi-mode rendering: support full PDF-only, combined HTML+PDF, single-chapter preview, and audit-only modes to match different iteration speeds and needs.
  • Compilation orchestration & audit: run lualatex renders, collect .log files, run a pdf-auditor agent, classify warnings against a known-ledger, and coordinate iterative fixes (up to three rounds) when needed.
  • Use Case: generate a final, audited PDF of a 20-chapter replication book with automated warning classification and optional restoration of HTML defaults for continued web-preview workflows.

Quick Start

Render the replication_book to PDF in both mode and run a full audit of the compilation log.

Frequently Asked Questions about render-pdf

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

FAQPage Schema
How do I render a Quarto book to PDF and automatically fix LaTeX compilation warnings?

To render a Quarto book to PDF, the process toggles the pdf configuration block, executes lualatex compilation, and analyzes .log files to classify known warnings. It coordinates iterative fixes for up to three rounds to resolve LaTeX compilation issues automatically.

What is the best way to audit LaTeX warnings in a multi-chapter Quarto project?

Auditing LaTeX warnings in a Quarto project involves running lualatex renders, collecting the generated .log files, and classifying warnings against a known-ledger. This identifies common publication errors and suggests targeted fixes for academic manuscripts.

Can I preview a single chapter of my Quarto replication book without rendering the entire PDF?

Yes, single-chapter preview mode is supported for Quarto replication books. You can render an individual chapter to PDF for faster iteration speeds, bypassing full multi-chapter compilation while still utilizing the lualatex engine.

How do I switch my Quarto project configuration between HTML-only and PDF-capable builds?

Switching Quarto configuration between HTML and PDF builds requires toggling the pdf block in _quarto.yml. The process enables the pdf block for LaTeX compilation and optionally restores HTML-only settings for continued web-preview workflows after rendering.

Does the Quarto PDF rendering process support audit-only mode without generating a new file?

Yes, an audit-only mode is supported for Quarto PDF rendering. This allows you to collect and analyze existing .log files to classify known warnings and review compilation health without executing a new lualatex render.