github firecrawl/pdf-inspector v1.27.0
1.27.0 — LaTeX for formula regions from the text layer

3 days ago

Changes since 1.26.1:

  • Read formula regions as LaTeX from the PDF's own text layer: extract_math_latex_in_regions_mem (Node: extractMathLatexInRegions) rebuilds sub- and superscripts from glyph baselines and sizes, limits of \sum, \int, \lim and other large operators, accents, font alphabets (\mathbb, \mathcal, \mathfrak, \mathbf) and delimiters stacked from TeX extension-font pieces. Each region carries a gate saying whether its text layer was read: an invisible (OCR) layer, more than a tenth undecodable glyphs, or a region mostly outside math fonts on a page with next to no math fonts is reported and left empty. Fractions, radicals, matrices and multi-line displays are not rebuilt (#677).
  • CI fetches ONNX Runtime 1.27.0 from the PyPI wheel, since the release asset is gone (#678).

API: new function only; existing extraction paths and the Node, Python and WebAssembly bindings are unchanged.

Release preparation: #680.

Full changelog

Don't miss a new pdf-inspector release

NewReleases is sending notifications on new releases.