pdf-to-latex-mineru
/install pdf-to-latex-mineru
PDF to LaTeX
Convert PDF documents to LaTeX format using MinerU. Best suited for academic papers and documents with formulas or complex layouts.
Install
npm install -g mineru-open-api
go install github.com/opendatalab/MinerU-Ecosystem/cli/mineru-open-api@latest
Quick Start
mineru-open-api extract paper.pdf -f latex -o ./out/
mineru-open-api extract paper.pdf -f latex --model vlm -o ./out/
mineru-open-api extract https://arxiv.org/pdf/2309.10918 -f latex -o ./out/
Authentication
Token required:
mineru-open-api auth
export MINERU_TOKEN="your-token"
Create token at: https://mineru.net/apiManage/token
Capabilities
- Supported input: .pdf (local file or URL)
- Output format: LaTeX (
-f latex) - LaTeX output requires
extractwith token - Use
--model vlmfor papers with complex math, tables, or multi-column layouts - Language hint with
--language(default:ch, useenfor English)
Notes
- LaTeX output is only available via
extractwith token --model vlmgives higher accuracy; usepipelinefor guaranteed fidelity- Output goes to stdout by default; use
-o \x3Cdir>to save to a file - MinerU is open-source by OpenDataLab (Shanghai AI Lab): https://github.com/opendatalab/MinerU
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install pdf-to-latex-mineru - After installation, invoke the skill by name or use
/pdf-to-latex-mineru - Provide required inputs per the skill's parameter spec and get structured output
What is pdf-to-latex-mineru?
Convert PDF documents to LaTeX source code using MinerU AI extraction. Designed for researchers, academics, and scientists who need to re-edit, re-typeset, o... It is an AI Agent Skill for Claude Code / OpenClaw, with 107 downloads so far.
How do I install pdf-to-latex-mineru?
Run "/install pdf-to-latex-mineru" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is pdf-to-latex-mineru free?
Yes, pdf-to-latex-mineru is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does pdf-to-latex-mineru support?
pdf-to-latex-mineru is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created pdf-to-latex-mineru?
It is built and maintained by decrystal666 (@decrystal); the current version is v1.0.0.