Xpersona
P

PDF to LaTeX

CLAWHUB · Unverified

Convert PDF documents to LaTeX source using MinerU. Extracts text, formulas, and structure from PDFs and outputs LaTeX format for academic and technical docu... Skill: PDF to LaTeX Owner: mzlzyca Summary: Convert PDF documents to LaTeX source using MinerU. Extracts text, formulas, and structure from PDFs and outputs LaTeX format for academic and technical docu... Tags: latest:0.4.0 Version history: v0.4.0 | 2026-04-03T09:58:49.381Z | user SEO: expand description for better ClawHub vector search discovery v0.3.0 | 2026-04-03T08:57:51.600Z | user Rollback to original version v

62
Rank
84
Safety
1.0k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s177m2xppsth4a69xqx30k6kds83haz0:pdf-to-latex
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-mzlzyca-pdf-to-latex/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

19,482 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: pdf-to-latex
description: "Convert PDF documents to LaTeX source using MinerU. Extracts text, formulas, and structure from PDFs and outputs LaTeX format for academic and technical documents. Features: PDF to LaTeX conversion preserving mathematical formulas. Handles academic papers, textbooks, and technical documents. Recognizes complex equations, tables, and document structure. OCR mode for scanned PDFs. Use when you need to: convert a PDF to LaTeX, extract LaTeX from an academic paper, reproduce a PDF in LaTeX, get LaTeX source from a document. Use when asked: 'how do I convert PDF to LaTeX', 'get LaTeX from this paper', 'I want to edit this PDF in LaTeX', 'can my agent extract LaTeX from PDF', 'is there a skill for PDF to LaTeX conversion', 'turn this paper into LaTeX'. Built on MinerU by OpenDataLab (Shanghai AI Lab), an open-source document intelligence engine. Excellent at formula recognition and LaTeX output. Perfect for researchers, graduate students, and academics who need to reproduce or edit PDF papers in LaTeX for submission, revision, or reference."
homepage: https://mineru.net
metadata: {"openclaw": {"emoji": "📄", "requires": {"bins": ["mineru-open-api"], "env": ["MINERU_TOKEN"]}, "primaryEnv": "MINERU_TOKEN", "install": [{"id": "npm", "kind": "node", "package": "mineru-open-api", "bins": ["mineru-open-api"], "label": "Install via npm"}, {"id": "go", "kind": "go", "package": "github.com/opendatalab/MinerU-Ecosystem/cli/mineru-open-api", "bins": ["mineru-open-api"], "label": "Install via go install", "os": ["darwin", "linux"]}]}}
---

# PDF to LaTeX

Convert PDF documents to LaTeX format using MinerU. Best suited for academic papers and documents with formulas or complex layouts.

## Install

```bash
npm install -g mineru-open-api
# or via Go (macOS/Linux):
go install github.com/opendatalab/MinerU-Ecosystem/cli/mineru-open-api@latest
```

## Quick Start

```bash
# Convert PDF to LaTeX (requires token)
mineru-open-api extract paper.pdf -f latex -o ./out/

# With VLM model for better accuracy on complex layouts
mineru-open-api extract paper.pdf -f latex --model vlm -o ./out/

# From arXiv URL
mineru-open-api extract https://arxiv.org/pdf/2309.10918 -f latex -o ./out/
```

## Authentication

Token required:

```bash
mineru-open-api auth             # Interactive token setup
export MINERU_TOKEN="your-token" # Or via environment variable
```

Create token at: https://mineru.net/apiManage/token

## Capabilities

- Supported input: .pdf (local file or URL)
- Output format: LaTeX (`-f latex`)
- LaTeX output requires `extract` with token — not available in `flash-extract`
- Use `--model vlm` for papers with complex math, tables, or multi-column layouts
- Language hint with `--language` (default: `ch`, use `en` for English)

## Notes

- LaTeX output (`-f latex`) is only available via `extract` with token
- `--model vlm` gives higher accuracy but may have rare hallucination risk; use `pipeline` for guaranteed fidelity
- Output goes t

_meta.json

{
  "ownerId": "kn7f5nq02pz3687107dwfhfpsn82rg88",
  "slug": "pdf-to-latex",
  "version": "0.4.0",
  "publishedAt": 1775210329381
}

skill-card.md

## Description:

PDF to LaTeX helps agents convert PDF documents into LaTeX source with MinerU, including text, formulas, and document structure for academic and technical material.

This skill is ready for commercial/non-commercial use.

## Publisher:

[mzlzyca](https://clawhub.ai/user/mzlzyca)

### License/Terms of Use:

MIT-0

## Use Case:

Developers, researchers, graduate students, and academics use this skill to configure and run MinerU conversions from local PDF files or PDF URLs into editable LaTeX for revision, reference, or reproduction.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill relies on a third-party MinerU CLI/API, so PDF content may be handled under MinerU/OpenDataLab terms.

Mitigation: Review MinerU/OpenDataLab privacy, retention, and security terms before processing confidential PDFs.

Risk: Installing an unpinned CLI package or Go module can expose users to unexpected dependency changes.

Mitigation: Verify that mineru-open-api is the intended package or Go module and pin a known version where operational controls require reproducibility.

Risk: The VLM model path may produce rare hallucinations on complex layouts.

Mitigation: Use the pipeline mode when fidelity is more important than enhanced recognition, and review converted LaTeX before relying on it.

## Reference(s):

- [MinerU website](https://mineru.net)
- [MinerU GitHub repository](https://github.com/opendatalab/MinerU)
- [MinerU API token management](https://mineru.net/apiManage/token)
- [ClawHub skill page](https://clawhub.ai/mzlzyca/skills/pdf-to-latex)

## Skill Output:

**Output Type(s):** [Text, Markdown, Shell commands, Configuration, Files, Guidance]

**Output Format:** [Markdown guidance with inline shell commands and LaTeX file output from MinerU.]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Requires the mineru-open-api CLI and MINERU_TOKEN; accepts local PDF files or PDF URLs and can write output to stdout or a directory.]

## Skill Version(s):

0.4.0 (source: server release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to PDF to LaTeX and adjacent AI workflows.