← ClaudeAtlas

compile-latexlisted

Compiles any .tex with auto engine/bib detection, a ranked error report (BLOCKING errors with file:line + suggested \usepackage / package-install fixes, then undefined refs/cites, then threshold-gated overfull/underfull boxes), diff-vs-last-compile, and a conflicted-copy guard. After a clean build it auto-iterates every detected TikZ/pgfplots figure via /tikz-iterate and splices the refined bodies back into the source. Trigger phrases - "/compile-latex", "compile this", "build my paper", "build my deck", "why won't this compile", "what are the latex errors", "did my edit add warnings". Cross-platform MiKTeX (Windows) / MacTeX (macOS) / TeX Live (Linux). Distinct from /tikz-iterate (single figure) and /slide-excellence (deck content review).
ericluo04/claude-academic-workflow · ★ 3 · AI & Automation · score 72
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