.claude/skills/compile-latex/SKILL.md
Compile a Beamer LaTeX slide deck with XeLaTeX (3 passes + bibtex). Use when compiling lecture slides.
npx skillsauth add alohays/paper2pr compile-latexInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Compile a Beamer slide deck using XeLaTeX with full citation resolution.
cd Slides
TEXINPUTS=../Preambles:$TEXINPUTS xelatex -interaction=nonstopmode $ARGUMENTS.tex
BIBINPUTS=..:$BIBINPUTS bibtex $ARGUMENTS
TEXINPUTS=../Preambles:$TEXINPUTS xelatex -interaction=nonstopmode $ARGUMENTS.tex
TEXINPUTS=../Preambles:$TEXINPUTS xelatex -interaction=nonstopmode $ARGUMENTS.tex
Alternative (latexmk):
cd Slides
TEXINPUTS=../Preambles:$TEXINPUTS BIBINPUTS=..:$BIBINPUTS latexmk -xelatex -interaction=nonstopmode $ARGUMENTS.tex
Run ChkTeX advisory lint (non-blocking):
chktex -q Slides/$ARGUMENTS.tex 2>&1 | grep "^Warning" || echo "No chktex warnings."
.chktexrc suppressions)Check for compilation warnings:
Overfull \\hbox warningsundefined citations or Label(s) may have changedOpen the PDF for visual verification:
open Slides/$ARGUMENTS.pdf # macOS
# xdg-open Slides/$ARGUMENTS.pdf # Linux
Report results:
.aux file with citation keys.aux, generates .bbl with formatted referencesPreambles/.bib file lives in the repo rootdocumentation
Generate speaker notes (presentation script) for Quarto RevealJS slides. Supports English and Korean. Use when user asks to "write speaker notes", "add presentation script", "speaker script", "발표 스크립트", or "스피커 노트".
testing
Perform adversarial visual audit of Quarto or Beamer slides checking for overflow, font consistency, box fatigue, and layout issues.
testing
Validate bibliography entries against citations in all lecture files. Find missing entries and unused references.
testing
Translate Beamer LaTeX to Quarto RevealJS. Multi-phase workflow with TikZ extraction and QA.