compile-latex

Automate 3-pass XeLaTeX compilation of LaTeX slide decks into PDFs.

Updated Jun 27, 2026
One-click install
npx skills add https://github.com/fredmilhome/laffer_tobacco --skill compile-latex-fredmilhome
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: compile-latex
Source: https://github.com/fredmilhome/laffer_tobacco/tree/main/.claude/skills/compile-latex
Command: npx skills add https://github.com/fredmilhome/laffer_tobacco --skill compile-latex-fredmilhome

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires xelatex, bibtex, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the process of compiling LaTeX slide decks into high-quality PDFs, eliminating the complexity of manual LaTeX compilation.

Core Features & Use Cases

  • Automated LaTeX Compilation: Compiles LaTeX files into PDFs using XeLaTeX, with support for bibliographies and cross-references.
  • 3-Pass Compilation: Ensures full citation resolution and quality checks for the PDF output.
  • Use Case: Ideal for academic or professional presentations where LaTeX formatting is preferred for quality and aesthetics.

Quick Start

To compile your Beamer slide deck, run 'compile-latex <filename without .tex extension>'.

Frequently Asked Questions about compile-latex

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

FAQPage Schema
How do I compile a LaTeX Beamer presentation into a PDF?

To compile a LaTeX Beamer presentation into a PDF, you can automate the process using XeLaTeX. This approach handles the necessary compilation passes to generate high-quality PDF outputs directly from your LaTeX slide deck files.

Why does XeLaTeX compilation require multiple passes for slides?

XeLaTeX compilation requires multiple passes to ensure full citation resolution and cross-reference consistency. A 3-pass compilation process ensures that all bibliography entries and internal references are correctly linked in the final PDF.

What dependencies do I need to compile LaTeX files with bibtex citations?

To compile LaTeX files with bibtex citations, you need XeLaTeX for the main LaTeX compilation and bibtex for processing the bibliography. Both dependencies must be installed in your environment to resolve citations successfully.

Can I generate a high-quality PDF from LaTeX slides without manual compilation?

Yes, you can generate a high-quality PDF from LaTeX slides without manual compilation by using an automated script. This eliminates the complexity of running multiple terminal commands manually while maintaining professional LaTeX formatting.

How do I start compiling my LaTeX slide deck from the command line?

To start compiling your LaTeX slide deck, run the compile command followed by your filename without the .tex extension. This initiates the automated 3-pass XeLaTeX compilation, including bibtex processing, to output your PDF.