compile-latexlisted
Install: claude install-skill ericluo04/claude-academic-workflow
# /compile-latex
Compile a `.tex`, parse the log into a ranked, actionable error report, diff it
against the last compile, then auto-iterate every TikZ/pgfplots figure through
`/tikz-iterate` and splice the refined bodies back. One command from "compile
this" to "figures polished and source updated."
The heavy parsing detail (command→package table, log regexes, file-stack rules,
box thresholds, state schema) lives in [`references/log-patterns.md`](references/log-patterns.md).
Read it before implementing Steps 3–6.
## Credit
The diff-vs-last-compile warning-set idea (persist the warning/box set, report
deltas between successive builds) is inspired by Scott Cunningham's
`compiledeck` in [`scunning1975/MixtapeTools`](https://github.com/scunning1975/MixtapeTools).
The figure-iterate hand-off chains into this repo's [`/tikz-iterate`](../tikz-iterate/SKILL.md).
## When to invoke
Trigger on: `/compile-latex`, "compile this", "build my paper/deck", "why won't
this compile", "what are the latex errors", "did my edit add warnings".
Do **not** invoke for:
- Single-figure visual polish with no full-document compile — use `/tikz-iterate`.
- Deck content / pedagogy review — use `/slide-excellence`.
- Editing prose or sections — use `/draft`.
## Inputs
This skill resolves paths against `~/.claude/state/personal_config.json` (see
`_config/personal_config.example.json`). If a `.tex` path is given, use it. If
only a basename is given, `Glob` for it under `personal_config.paths.overlea