compile-latex

Compile Beamer LaTeX slide decks with XeLaTeX and BibTeX.

1|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/AndreaMentasti/tweet-election --skill compile-latex-andreamentasti
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: compile-latex
Source: https://github.com/AndreaMentasti/tweet-election/tree/main/.claude/skills/compile-latex
Command: npx skills add https://github.com/AndreaMentasti/tweet-election --skill compile-latex-andreamentasti

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the compilation of Beamer LaTeX slide decks, ensuring all citations and cross-references are correctly resolved.

Core Features & Use Cases

  • Multi-pass Compilation: Executes XeLaTeX and BibTeX the necessary number of times for accurate output.
  • Customizable Inputs: Handles custom preamble and bibliography file locations.
  • Use Case: When preparing lecture notes or presentation slides in LaTeX, use this Skill to generate the final PDF without manual command-line juggling.

Quick Start

Compile the Beamer presentation named 'my-slides' using the compile-latex skill.

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 resolve citations automatically?

To compile Beamer slides, this Skill automates a three-pass XeLaTeX and BibTeX sequence, resolving cross-references and citations to produce an accurate final PDF without manual command-line execution.

Why does my LaTeX presentation show undefined citations after the first compile?

Undefined citations occur because a single XeLaTeX pass cannot resolve bibliography links. This Skill analyzes compilation output for undefined citations and runs multiple passes to ensure all references are correctly linked.

Can I use custom file paths for my LaTeX preamble and bibliography?

Yes, you can specify custom input paths. This Skill supports custom preamble and bibliography file locations, allowing you to maintain a flexible LaTeX project structure while compiling your presentation.

How do I detect overfull hboxes and other warnings when compiling LaTeX?

To detect overfull hboxes, this Skill analyzes the compilation output log for common warnings. It automatically checks for formatting issues like overfull hboxes and undefined citations after the XeLaTeX build process completes.

Do I need BibTeX if my Beamer deck has no references?

If your Beamer deck has no references, BibTeX is not strictly necessary, but this Skill includes it in the multi-pass sequence to ensure any unexpected citations or cross-references are resolved correctly without manual intervention.