compile-latex
4
总安装量
3
周安装量
#50601
全站排名
安装命令
npx skills add https://github.com/pedrohcgs/claude-code-my-workflow --skill compile-latex
Agent 安装分布
openclaw
3
claude-code
3
codex
3
kiro-cli
3
kimi-cli
3
cursor
3
Skill 文档
Compile Beamer LaTeX Slides
Compile a Beamer slide deck using XeLaTeX with full citation resolution.
Steps
- Navigate to Slides/ directory and compile with 3-pass sequence:
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
-
Check for warnings:
- Grep output for
Overfull \\hboxwarnings - Grep for
undefined citationsorLabel(s) may have changed - Report any issues found
- Grep output for
-
Open the PDF for visual verification:
open Slides/$ARGUMENTS.pdf -
Report results:
- Compilation success/failure
- Number of overfull hbox warnings
- Any undefined citations
- PDF page count
Why 3 passes?
- First xelatex: Creates
.auxfile with citation keys - bibtex: Reads
.aux, generates.bblwith formatted references - Second xelatex: Incorporates bibliography
- Third xelatex: Resolves all cross-references with final page numbers
Important
- Always use XeLaTeX, never pdflatex
- TEXINPUTS is required: your Beamer theme lives in
Preambles/ - BIBINPUTS is required: your
.bibfile lives in the repo root