Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not All Headers Are Identified during PDF to MD conversion #887

Open
sallahbaksh opened this issue Feb 4, 2025 · 0 comments
Open

Not All Headers Are Identified during PDF to MD conversion #887

sallahbaksh opened this issue Feb 4, 2025 · 0 comments
Labels
bug Something isn't working layout

Comments

@sallahbaksh
Copy link

sallahbaksh commented Feb 4, 2025

Bug

When converting from PDF to Markdown, not all headers are being identified. For example, for the attached PDF, the headers Sec. 28-4. - Applicability. and Sec. 28-5. - Repeal. are identified correctly, but Sec. 28-1. - Short title. and Sec. 28-2. - Purpose., etc. are not identified as headers.

Steps to reproduce

Use DocumentConverter() to convert pdf to md (Stafford County - VA Zoning Ordinance.pdf). Observe that Sec. 28-1. - Short title., Sec. 28-2. - Purpose., Sec. 28-6. - Conflict of provisions., Sec. 28-7. - Severability. are not identified as headers, while Sec. 28-4. - Applicability. and Sec. 28-5. - Repeal. are.

Image

Docling version

Docling version: 2.15
Docling Core version: 2.17.1
Docling IBM Models version: 3.3.0
Docling Parse version: 3.2.0
Python: cpython-312 (3.12.8)
Platform: Windows-11-10.0.22631-SP0
...

Python version

Python 3.12.8

@sallahbaksh sallahbaksh added the bug Something isn't working label Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working layout
Projects
None yet
Development

No branches or pull requests

2 participants