Docr’d

GUIDES · PDF TO LATEX

Convert a PDF to LaTeX, equations and tables included.

Retyping equations from an old paper or a scanned textbook is slow and error-prone. Docr’d recognizes formulas, tables and figures on each page, shows each one beside the crop it came from so you can check it, and exports the document as a LaTeX project, a .tex file with its figures and bibliography, that you can compile and edit.

What the PDF to TeX export holds

The LaTeX export is a ZIP file holding:

Corrections you made in Docr’d are part of the export.

How to convert a PDF to LaTeX

  1. Create an account and open the web app. Hosted OCR runs there, in Docr’d Cloud, never on your computer. Adding documents and OCR need cloud access: an activated free place, while one is available, or a paid plan. Your account shows which you have.
  2. Add the PDF to your library. Scanned and born-digital PDFs both work; a born-digital PDF is readable and searchable straight away.
  3. Run reconstruction at Balanced or Max quality. On a free place you can choose a page range instead of the whole document.
  4. Open a formula or table to compare it with the original crop and fix anything that was misread.
  5. Open the document’s menu on its record bar and choose Export → LaTeX. When the ZIP is ready, choose Download.

The same menu exports Markdown with LaTeX math, if you write in Markdown.

These steps in , with captions, on a scan of Theodore Theodorsen’s Theory of Wing Sections of Arbitrary Shape (NACA Report No. 411, 1931), a U.S. government report from the NASA Technical Reports Server, recorded on .

Math OCR, one formula at a time

One page of a scanned textbook, and what Docr’d rebuilds from it. The formula comes back as math, with its LaTeX underneath:

4.3 Differential equation of the deflection curve

Consider a prismatic beam of flexural rigidity EI carrying a distributed load q(x). Taking moments about a section at x and letting the element length tend to zero gives the governing relation between load and deflection w:

EI d4w dx4 =q(x) (4.12)

Fig. 4.7 Simply supported beam under distributed load.

SupportConditions
Simply supportedw = 0, w″ = 0
Clampedw = 0, w′ = 0
Freew″ = 0, w‴ = 0
Heading
4.3 Differential equation of the deflection curve
Paragraph

Consider a prismatic beam of flexural rigidity EI carrying a distributed load q(x). Taking moments about a section at x and letting the element length tend to zero gives the governing relation between load and deflection w:

Formula EI d4w dx4 =q(x) EI\,\frac{d^{4} w}{dx^{4}} = q(x)
Figure

Fig. 4.7 Simply supported beam under distributed load.

Table
SupportConditions
Simply supportedw = 0, w″ = 0
Clampedw = 0, w′ = 0
Freew″ = 0, w‴ = 0
Tap or hover a region on the scanned page to see where it came from. Every block keeps its page and bounding box.

Each recognized formula opens in a side panel that shows its LaTeX in an editable box beside the source crop, so you can correct it and copy it into your own document. Formulas are searchable across your library, so you can type part of an equation, or search its LaTeX, and find every paper where it appears.

Choosing a quality

FastText only. It does not rebuild formulas or tables, so it is not the right choice for LaTeX.
BalancedLayout, headings, tables and formulas. The right choice for most papers and textbooks. It does not keep formula numbers.
MaxThe most thorough: adds formula numbers, charts and tables that continue across pages. Each page counts three times against your allowance.

If you use Zotero

The scanned papers in a Zotero library come across with it. Docr’d imports the library, or to begin with only the collections you choose, with its PDFs, marks and notes, and never changes Zotero. Rebuild a scan, check its formulas, and export it as LaTeX. OCR for a Zotero library explains what the import does, and the Zotero import guide shows each screen. Nothing is written back into Zotero, so its copy of the PDF stays as it was.

What it costs

Reading, correcting, searching and exporting pages you have already reconstructed uses no OCR pages, though correcting in the web app needs cloud access. Reconstruction uses OCR pages: free places include 100 Balanced pages a month while places are available, and paid plans include monthly pages at any quality, with no automatic overage charge. See pricing.

Docr’d is in early access. Recognition is good but not perfect, especially on faint or skewed scans, which is why every formula stays linked to its crop. Docr’d does not read handwriting. Tell us at support@getdocrd.com when a page converts badly; please leave out private documents.

When you don’t need this

If the paper’s LaTeX source exists, use it: arXiv, for one, offers the TeX source of most of its papers. A born-digital PDF with a simple layout and no mathematics converts fine with plain tools, because its text can be copied out and typeset by hand. And for one or two equations, retyping them is quicker than any conversion. Docr’d earns its place when there is no source to be had: a scanned chapter, an old paper, a standard, with equations and tables on most pages.

Create an accountSee how reconstruction works