Skip to content

Commit 56eba1f

Browse files
committed
Fix typo
1 parent cd8c206 commit 56eba1f

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

docs/src/changes.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@
44
Change Log
55
===========================================================================
66

7+
Changes in version 0.0.8
8+
--------------------------
9+
10+
Fixes:
11+
~~~~~~~
12+
13+
* `65 <https://github.com/pymupdf/RAG/issues/65>`_ Fix typo in `pymupdf_rag.py`.
14+
15+
716
Changes in version 0.0.7
817
--------------------------
918

pymupdf4llm/pymupdf4llm/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from .helpers.pymupdf_rag import IdentifyHeaders, to_markdown
22

3-
__version__ = "0.0.7"
3+
__version__ = "0.0.8"
44
version = __version__
55
version_tuple = tuple(map(int, version.split(".")))
66

pymupdf4llm/pymupdf4llm/helpers/pymupdf_rag.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ def get_page_output(doc, pno, margins, textflags):
546546
near_border = set()
547547
for itm in p["items"]: # walk through path items
548548
if itm[0] == "re": # a full-sized rectangle
549-
if abs(item[1]) / box_area < 1e-3:
549+
if abs(itm[1]) / box_area < 1e-3:
550550
near_border.add(True) # is part of the border
551551
elif itm[0] in ("c", "l"): # curves and lines
552552
for temp in itm[1:]:

pymupdf4llm/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
setuptools.setup(
1919
name="pymupdf4llm",
20-
version="0.0.7",
20+
version="0.0.8",
2121
author="Artifex",
2222
author_email="support@artifex.com",
2323
description="PyMuPDF Utilities for LLM/RAG",

0 commit comments

Comments
 (0)