Document Tools
PDF Formula Extractor (LaTeX / MathML / MathJax) with AMS Equation-Number Preservation
Detect and reconstruct embedded math formulas from vector PDFs: math-font recognition (CMMI/CMSY/CMEX, STIX, Cambria Math), Unicode math, super/subscripts and stacked fractions, AMS equation numbers ((2a)/(2b) subequations) preserved; outputs copyable LaTeX, presentation MathML (MathJax/KaTeX-compatible) and a downloadable .tex bundle.
Quick start
Call this tool from your code in three languages.
# 1) Request a presigned URL → returns { uploadUrl, storageKey }
curl -X POST 'https://api.elysiatools.com/api/upload/presign/pdf-latex-mathml-mathjax-formula-extractor-and-equation-number-preserver' \
-H 'Content-Type: application/json' \
-d '{"filename":"pdfFile.ext","contentType":"application/octet-stream","size":12345}'
# 2) PUT the file bytes directly to the presigned uploadUrl
curl -X PUT '<presigned uploadUrl>' \
--data-binary @/path/to/file.ext
# 3) Call the tool, passing the returned storageKey for each file field
curl -X POST 'https://api.elysiatools.com/en/api/tools/pdf-latex-mathml-mathjax-formula-extractor-and-equation-number-preserver' \
-F 'pdfFile=uploads/2026/01/01/your-tool-1700000000000-abc123.ext' \
-F 'scope=display' \
-F 'maxPages=20' \
-F 'renderPreview=true' \
-F 'writeTexBundle=false'