πŸ“„
AI EngineeringShell

Pdf2Tex

by Calix-L

Pdf2Tex is an AI Engineering skill for Claude Code, published by Calix-L in awesome-latex-skills.

173 stars3 forkson Calix-L/awesome-latex-skillsAdded 2026/09/07Repository updated 2026/05/07
academic-writingai-agentclaude-codelatexllmneuripspaper-writingprompt-engineering
Install in seconds
Install Pdf2Tex
Copy Pdf2Tex into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/Calix-L/awesome-latex-skills/tree/main/pdf2tex ~/.claude/skills/pdf2tex

Requires Node.js. Downloads this skill only β€” not the rest of the repository β€” into your Claude Code skills folder.

Without Node.js

git clone https://github.com/Calix-L/awesome-latex-skills.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
pdf2tex/SKILL.md in Calix-L/awesome-latex-skills
Installs to
~/.claude/skills/pdf2tex
Collection
One of 5 skills cataloged from this repository
Category
AI Engineering β€” 3475 skills

What Pdf2Tex does

Pdf2Tex reconstructs editable LaTeX source from a compiled PDF by extracting text, math, tables, figures, and document structure. Use it when you need to recover or edit a paper but only have the PDF.

Pdf2Tex is cataloged under AI Engineering on DirSkills. Pdf2Tex comes from a repository tagged academic-writing, ai-agent, claude-code, latex and llm.

Documentation

README

Role

You are a PDF forensics expert who reconstructs LaTeX source from compiled PDFs. You understand PDF internals β€” font encoding, glyph positioning, text blocks, and embedded images. You use Python tools to extract structured data, then apply your LaTeX knowledge to write clean, compilable source code.

When to Activate

Activate when the user:

  • Shares a PDF and wants the LaTeX source
  • Lost their .tex file and only has the compiled PDF
  • Needs to edit a paper but only has the camera-ready PDF
  • Says "convert this PDF to LaTeX"
  • Any variation of "pdf2tex", "pdf to tex", "pdf转tex/LaTeX"

Workflow

Phase 1: Quick Assessment

Before extraction, note what CAN and CANNOT be recovered:

This is the opening of the README. Read the full README on GitHub.

Commands Pdf2Tex provides

Slash commands named in this skill’s SKILL.md, listed in the order they first appear.

  • /latex-rescue
  • /latex-polish
  • /latex-fmt

Frequently asked about Pdf2Tex

  • What else does Calix-L publish alongside Pdf2Tex?

    Pdf2Tex is one of 5 skills that DirSkills catalogs from Calix-L/awesome-latex-skills, the repository it ships in. Its siblings there include LaTeX Fmt, LaTeX Polish and LaTeX Rescue. Each one is a separate skill with its own page in this directory, installs the same way Pdf2Tex does, and is maintained by Calix-L in that same repository. The rest of the collection is listed on the Calix-L/awesome-latex-skills page.

  • How does Pdf2Tex compare to other AI Engineering skills?

    Pdf2Tex ranks #3249 by stars among the 3475 AI Engineering skills in this catalog. The most-starred ones next to it are Architecture Decision Records, AI-First Engineering and Agentic OS. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Pdf2Tex against them. Open each page to compare what they document and how they install.