Convert PDF documents to LaTeX format using MinerU. Best suited for academic papers and documents with formulas or complex layouts.
npm install -g mineru-open-api
go install github.com/opendatalab/MinerU-Ecosystem/cli/mineru-open-api@latest
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/
Token required:
mineru-open-api auth
export MINERU_TOKEN="your-token"
Create token at: https://mineru.net/apiManage/token
-f latex)extract with token--model vlm for papers with complex math, tables, or multi-column layouts--language (default: ch, use en for English)extract with token--model vlm gives higher accuracy; use pipeline for guaranteed fidelity-o to save to a file共 1 个版本