compile-latex

仓库创建 2026年2月7日最近提交 1 个月前SkillHot 收录 22 天前
▸ 精选理由

一键解决引用与多轮编译烦恼,适合学术幻灯片作者。

▸ 风险提示

需本地 TeX 环境和 bibtex,可能调用外部编译命令。

这个 Skill 做什么

用 XeLaTeX 多轮次编译 Beamer 幻灯片并处理参考文献。

帮你用 XeLaTeX 把 Beamer 幻灯片编译成 PDF,包含多轮编译和 bibtex 引用解析(通常是三遍 xelatex + bibtex)。遇到 `.tex` 不出 PDF、引用不对或编译报错时就用它,可以在 Slides/ 目录下一键重建幻灯片。优势是自动处理引用和多轮编译细节,省去手动反复跑命令的麻烦。

▸ 展开 SKILL.md 英文原文

Compile a Beamer LaTeX slide deck with XeLaTeX (3 passes + bibtex). Use when user says "compile", "build the slides", "rebuild the PDF", "run latex", "render the tex", or asks why a `.tex` file isn't producing a PDF. Operates on `Slides/*.tex`.

开发编程LaTeX 构建BeamerPDF 生成通用
1.4k
Stars
2.8k
Forks
40
仓库内 Skill
+65
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/pedrohcgs/claude-code-my-workflow/main/.claude/skills/compile-latex/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/pedrohcgs/claude-code-my-workflow/main/.claude/skills/compile-latex/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Compile Beamer LaTeX Slides

Compile a Beamer slide deck using XeLaTeX with full citation resolution.

## Steps

1. **Navigate to Slides/ directory** and compile with 3-pass sequence:

```bash
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):**
```bash
cd Slides
TEXINPUTS=../Preambles:$TEXINPUTS BIBINPUTS=..:$BIBINPUTS latexmk -xelatex -interaction=nonstopmode $ARGUMENTS.tex
```

2. **Check for warnings:**
   - Grep 
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有