pdfdrill
pdf → document object → evidence

Convert PDFs into
evidence-backed
document objects.

Structured for LLM use: math, geometry, images and tables — not just plain text. Every result comes with a report showing exactly where to look or correct.

01 — ingestion

Three routes in, one shape out.

Whatever the PDF, ingestion ends in lines.json — page geometry plus recognised text and math — so everything downstream works the same way.

Optimal OCR route

MathPix→lines.json

The best-quality route for math.

Alternative OCR

Gemma 4 26B→lines.json

Hosted model, MathPix-compatible output.

Binary PDFs

pdfminer.six→lines.json-like

Math-extended pdfminer.six reads the text layer directly.

02 — document object functions

Operate on the object, not the text.

Transclusion

Every math expression is held once and transcluded wherever it is used.

Translation

The transclusions map all non-textual elements to text that is not changed by an automatic translation via DeepL.com.

Bibliographic aggregation

References resolved and aggregated via Perplexity.ai search.

Conceptual summaries

A conceptual summary for each paragraph.

Spoken math

Formulas rendered as speakable text.

03 — output projection

One model, four projections.

Markdown

Readable text with math inline.

LaTeX

LaTeX source projected from the model.

LLMtext

Token-optimised math for LLMs.

TiddlyWiki JSON

Tiddlers as JSON, ready to import into TiddlyWiki.

04 — evidence reports most important

See exactly where to look.

Each report compares what pdfdrill produced against the original page, so a reader — human or agent — checks evidence instead of trusting a result.

HTML inspect

The element tree, with each node's region highlighted on the page.

HTML formula tables

LaTeX source · KaTeX render · MathPix crop, side by side for every formula.

PDF residual table

For math: inkdrill compare measures the ink of the rendered LaTeX against the ink of the original PDF.

GoalThe user sees exactly where to look or correct. Geometry is the basis for comparing rendered ink to original ink.

05 — real output

Open what pdfdrill actually produced.

PageWhat it shows
reports/Evidence reports for every published document — inspect, formula tables, residuals.
translate.htmlA Chinese PDF translated to English with formulas intact.
pdfdrill-audit.htmlA browsable document model for five drilled documents.
heimUFT.htmlA complete document as a TiddlyWiki — Heim, Unified Field Theory. formula report · compare
kolbe2018hubbard.htmlA German thesis as a TiddlyWiki, with its English translation. formula report · compare