docling-project / docling-project/docling

Bi-column layout error with visual separator

Open
#1,186 2 comments 0 reactions 1 assignee Claimed by @cau-git View on GitHub
bug pdf reading_order
Dominant language
Python
Stars
66.4k
Forks
4.8k
Avg merge
2d 21h
Merged PRs (30d)
84

Description

### Bug

Docling is unable to recognize a separator line. See below

### Steps to reproduce
Start docling-serve:

`docker run --rm -e DOCLING_SERVE_ENABLE_UI=true -p 5001:5001 quay.io/docling-project/docling-serve:v0.6.0
`

Then browse to the ui. Choose url convert and paste the following url:
[https://www.amundi.lu/professional/dl/doc/prospectus/LU1807499428/ENG/LUX](https://www.amundi.lu/professional/dl/doc/prospectus/LU1807499428/ENG/LUX)

Choose the following options:

![Image](https://github.com/user-attachments/assets/0975438a-b05f-4c32-bfe1-c6b180ae898d)

Now go to page 5:

![Image](https://github.com/user-attachments/assets/a6bd142a-e618-44eb-8f57-b8aacb02039d)

**Expected**:
docling takes into account the separator line in the middle of the page, so that the paragraph Management Process will continue on the second column.

```
Management Process
The Sub-Funds... for the Sub-Fund.
Therefore, for the purpose... Risk Management method Commitment

----
Planning your investment...
```

**Current**:
Docling process the first column, then the second column without taking into account the middle separator line.

![Image](https://github.com/user-attachments/assets/2c36fde0-f370-4a43-85f0-2141d61f60a3)

```
Management Process
The Sub-Funds... for the Sub-Fund.
----
Planning your investment...

Therefore, for the purpose... Risk Management method Commitment
```

### Docling version

2.25.1

### Python version
3.12.9

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.