Извлечение TikZ-диаграмм из Beamer в SVG
content
extract-tikz is a Claude Code skill that extracts TikZ diagrams from a Beamer `.tex` source file, compiles them into a single multi-page PDF, and converts each page to an SVG using 0-based indexing for Quarto slide integration. Before compilation, it performs a mandatory freshness check to ensure `extract_tikz.tex` matches the Beamer source, then runs `check-tikz-prevention.py` to enforce two prevention rules: proper node scaling when using `scale=` (P3) and directional keywords on edge labels (P4) — any violation halts the process. After SVG generation, the built-in `tikz-reviewer` agent audits visual quality against measurement rules and can trigger up to five fix-and-recompile cycles until diagrams are approved. The skill is designed for educators maintaining parallel Beamer and Quarto versions of lecture slides.
- #tikz
- #beamer
- #svg
- #diagrams
- #lecture-materials