Menu

yolowpdf 0.2.0: Rebuilding the Math That PDF Throws Away
📰

yolowpdf 0.2.0: Rebuilding the Math That PDF Throws Away

DEV Community: rust·ゴエンチョウ·5 days ago
#uQJUNM9v
#devtorust#devto#dev#yolowpdf#fraction
Long article (939 words) — no AI summary yet.
Reading 0:00
15s threshold

yolowpdf is a pure-Rust PDF-to-Markdown library that parses the format itself — no Poppler, no MuPDF. Version 0.2.0, released this week, is a consolidated release with two halves: the PDF core learned to reconstruct two-dimensional mathematics from glyph geometry, and the OCR side open-sourced its model suite. This post covers both, with the measured numbers.

The problem: text survives PDF extraction, math does not

A PDF does not store formulas. It stores glyphs at coordinates: a numerator here, a drawn line under it, a denominator below. A text extractor reading in stream order produces linear soup — the fraction loses which part was on top, a matrix flattens into a column of numbers, the limits of a summation detach and wander into the prose. For a human reader of the rendered page this is invisible. For an LLM pipeline ingesting papers, the math is precisely the part that matters, and it is the part that arrives broken.

The scores showed it plainly.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.