extract-tikz

Extract TikZ diagrams from Beamer sources and convert compiled PDF pages to SVG files.

1|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/AndreaMentasti/tweet-election --skill extract-tikz-andreamentasti
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: extract-tikz
Source: https://github.com/AndreaMentasti/tweet-election/tree/main/.claude/skills/extract-tikz
Command: npx skills add https://github.com/AndreaMentasti/tweet-election --skill extract-tikz-andreamentasti

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of extracting TikZ diagrams from Beamer presentations, compiling them into PDFs, and converting each page into an SVG file suitable for use in Quarto slides.

Core Features & Use Cases

  • TikZ Diagram Extraction: Extracts TikZ code blocks from Beamer source files.
  • Compilation to PDF: Compiles the extracted TikZ code into a multi-page PDF document.
  • Conversion to SVG: Converts each page of the compiled PDF into a 0-indexed SVG file.
  • Use Case: When updating TikZ diagrams for Quarto slides, this Skill ensures the diagrams are correctly extracted, compiled, and converted to a web-friendly SVG format.

Quick Start

Use the extract-tikz skill to process the lecture titled Lecture2.

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 to SVG for Quarto, this Skill extracts TikZ code blocks from Beamer source files, compiles them into a multi-page PDF, and converts each page into a 0-indexed SVG file.

What dependencies do I need to compile TikZ to SVG?

Compiling TikZ to SVG requires a LaTeX distribution using xelatex for PDF generation, pdfinfo for processing document metadata, and pdf2svg for converting the compiled PDF pages into SVG format.

Can I extract multiple TikZ diagrams from a single Beamer presentation?

Yes, this Skill extracts multiple TikZ code blocks from a Beamer source file, compiles them into a single multi-page PDF document, and converts each page into a 0-indexed SVG file.

What is the best way to update TikZ diagrams for Quarto presentations?

The best way to update TikZ diagrams for Quarto is automating the extraction from Beamer source files, compiling to PDF with xelatex, and converting each page to a web-friendly SVG format.

Does this Skill support converting LaTeX Beamer output directly to web-friendly formats?

Yes, this Skill processes LaTeX Beamer source files by extracting TikZ diagrams, compiling them to PDF, and transforming each page into a web-friendly SVG file suitable for Quarto slides.