extract-tikz

Extract TikZ diagrams from Beamer sources and convert them to SVG files.

1.5k|2.9k|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/pedrohcgs/claude-code-my-workflow --skill extract-tikz-pedrohcgs
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: extract-tikz
Source: https://github.com/pedrohcgs/claude-code-my-workflow/tree/main/.claude/skills/extract-tikz
Command: npx skills add https://github.com/pedrohcgs/claude-code-my-workflow --skill extract-tikz-pedrohcgs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Beamer sources embed TikZ diagrams that are cumbersome to reuse across slide formats. This skill automates extracting TikZ blocks, compiling to a PDF, and converting each page to an SVG for Quarto slides.

Core Features & Use Cases

  • Extract TikZ diagrams from Beamer sources, compile to a multi-page PDF, and convert each page to an SVG for Quarto slides.
  • Use this workflow when updating TikZ figures across Beamer presentations and Quarto-based slide decks.
  • Provides deterministic, 0-based indexing for SVG files to simplify asset management.

Quick Start

Run the extract-tikz workflow to convert all Beamer TikZ figures to SVG for Quarto slides.

Frequently Asked Questions about extract-tikz

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert TikZ diagrams from Beamer to SVG for Quarto slides?▼

To convert TikZ diagrams from Beamer to SVG for Quarto slides, this workflow extracts TikZ blocks, compiles them into a multi-page PDF, and converts each page to an SVG file using pdf2svg.

What is the best way to extract TikZ figures from a Beamer presentation?▼

The best way to extract TikZ figures from a Beamer presentation is to use a deterministic workflow that targets a Beamer source layout with a Figures directory, using extract_tikz.tex as the source of truth.

Do I need a specific directory structure to extract TikZ diagrams for Quarto?▼

Yes, extracting TikZ diagrams requires a Beamer source layout containing a Figures directory, relying on extract_tikz.tex as the source of truth to build and convert figures for Quarto slides.

How are the extracted SVG files indexed when converting Beamer TikZ diagrams?▼

Extracted SVG files generated from Beamer TikZ diagrams use deterministic, 0-based indexing to simplify asset management and ensure consistent file naming across modern Quarto slide pipelines.

Can I reuse TikZ diagrams across Beamer and Quarto slide decks without manual conversion?▼

Yes, you can reuse TikZ diagrams across Beamer and Quarto slide decks by automating the extraction, PDF compilation, and SVG conversion process, eliminating the cumbersome manual reuse workflow.