compile-latex

Compile Beamer slides with a 3-pass XeLaTeX and BibTeX workflow.

1.5k|2.9k|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/pedrohcgs/claude-code-my-workflow --skill compile-latex
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: compile-latex
Source: https://github.com/pedrohcgs/claude-code-my-workflow/tree/main/.claude/skills/compile-latex
Command: npx skills add https://github.com/pedrohcgs/claude-code-my-workflow --skill compile-latex

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill streamlines building Beamer presentations by orchestrating a reliable XeLaTeX workflow with BibTeX across multiple passes, ensuring correct citations and formatting.

Core Features & Use Cases

  • End-to-end Beamer compilation: run 3 XeLaTeX passes with BibTeX to resolve citations
  • Warning detection: identify Overfull \hbox and undefined citations
  • Verification and reporting: open the resulting PDF and report compilation status, warning counts, and page count
  • Environment guidance: ensures required preambles, themes, and bib resources are in place

Quick Start

Run the compile-latex skill on your Slides directory to produce a fully compiled Beamer PDF.

Frequently Asked Questions about compile-latex

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

FAQPage Schema
How do I compile Beamer slides with XeLaTeX and BibTeX reliably?

Beamer slides compilation uses a deterministic 3-pass XeLaTeX workflow with BibTeX to resolve citations and formatting. This multi-pass process ensures cross-references are correctly updated and produces a final PDF presentation.

Why does my Beamer presentation have undefined citations after compiling?

Undefined citations in Beamer occur when the compilation workflow does not include enough passes or lacks BibTeX integration. Running a deterministic 3-pass XeLaTeX workflow with BibTeX resolves all references and eliminates undefined citation warnings.

What do I need to set up before compiling a Beamer presentation?

Before compiling a Beamer presentation, ensure your Slides directory contains the necessary preambles, themes, and a .bib file. The environment must also respect TEXINPUTS and BIBINPUTS variables for successful XeLaTeX and BibTeX processing.

How are Overfull hbox warnings detected during LaTeX compilation?

Overfull hbox warnings are detected during the compilation process by monitoring the XeLaTeX output logs. The workflow identifies these formatting issues and reports compilation status, warning counts, and page count for visual verification.

Does this workflow support opening the PDF automatically after compiling?

Yes, the workflow opens the resulting PDF automatically for visual verification after compiling. It reports the compilation status, warning counts, and page count to confirm the Beamer presentation was built successfully.