compile-latex
Compile a Beamer LaTeX slide deck with XeLaTeX (3 passes + bibtex). Use when compiling lecture slides.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Compile a Beamer LaTeX slide deck with XeLaTeX (3 passes + bibtex). Use when compiling lecture slides.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Convert a research paper PDF into a Beamer presentation. Extracts tables, analyzes structure, generates .tex with NankaiBeamer theme, compiles, and fixes overflow.
Run the proofreading protocol on lecture files. Checks grammar, typos, overflow, consistency, and academic writing quality. Produces a report without editing files.
Fix Overfull \hbox and \vbox warnings in a compiled Beamer .tex file. Parses the .log, locates offending lines, applies targeted fixes, and recompiles.
| name | compile-latex |
| description | Compile a Beamer LaTeX slide deck with XeLaTeX (3 passes + bibtex). Use when compiling lecture slides. |
| argument-hint | [filename without .tex extension] |
| allowed-tools | ["Read","Bash","Glob"] |
Compile a Beamer slide deck using XeLaTeX with full citation resolution.
cd Slides
TEXINPUTS="../Preambles;$TEXINPUTS" xelatex -interaction=nonstopmode $ARGUMENTS.tex
TEXINPUTS="../Preambles;$TEXINPUTS" xelatex -interaction=nonstopmode $ARGUMENTS.tex
TEXINPUTS="../Preambles;$TEXINPUTS" xelatex -interaction=nonstopmode $ARGUMENTS.tex
Note: Use semicolon (;) for Windows, colon (:) for Mac/Linux.
Alternative (latexmk):
cd Slides
TEXINPUTS="../Preambles;$TEXINPUTS" latexmk -xelatex -interaction=nonstopmode $ARGUMENTS.tex
Check for 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 labels and referencesPreambles/;) path separator on Windows, colon (:) on Mac/Linux