Skip to content

RayoPDF 0.5.0

Choose a tag to compare

@github-actions github-actions released this 25 Nov 02:15
· 98 commits to master since this release

Core archives of commit 48fd52e, built by the Release workflow; SHA256SUMS lists their checksums. The OCR add-on's archives are built and attached by hand (CONTRIBUTING.md, Versions and releases).

What is new (record, release check: every item of the release bar holds)

  • --figure-text=drop leaves out a figure's own text (tick labels, axis titles, legends, a diagram's labels) that does not read as prose; --small-caps=keep writes small-capitals headings as printed; --tables=pipe-latex writes pipe tables for readers that take cells through LaTeX. Opt-in conventions; the default output stays faithful to the page.
  • LaTeX mode (--math=latex): formulas read by their fonts' codes (mathabx, TeX's math fonts, OAMathSymbols, newtx, Symbol), stacked fractions and bars, radicals over fractions, composed relations, extensible arrows, operator names, accents seated over their glyph, bold letters as \mathbf, and the spellings arXiv sources use. olmOCR arXiv math 0.721 → 0.860.
  • Tables, headings, lists, footnotes and page furniture: header rows told by rules, levels and centred labels; drop caps; numbered, centred and italic titles; printed list markers kept; footnote references in table cells; the edge-row model retrained twice. opendataloader-bench 0.941 → 0.944 with its conventions (kordoc: 0.939); READoc arXiv tables 0.636 → 0.730 with READoc's (docling: 0.656); olmOCR headers and footers 0.850 → 0.891, multi-column 0.710 → 0.762; DocLayNet lists 0.528 → 0.687 and footnotes 0.506 → 0.711.
  • Text: a dash ending a line joins the next line's word, compound hyphens stay, upright punctuation after an italic glyph stays in its word, insets wrapped by two columns are read after their column.
  • Speed: 4 % fewer instructions than 0.4.0 on odl (10 % on SafeDocs, 8 % in LaTeX mode) though every rule since landed; warm 2,207 pages/s and fresh 0.912 ms on odl, within 0.6 % of 0.4.0's.

The container image: ghcr.io/butterski/rayopdf:0.5.0 (digest sha256:67a64bdf310549fe37746a460066df007b769b59652eda0752ebf8e81ebe7239).