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

Processing of TOC objects in Word Documents DOCX fails #627

Open
w0o opened this issue Dec 19, 2024 · 0 comments
Open

Processing of TOC objects in Word Documents DOCX fails #627

w0o opened this issue Dec 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@w0o
Copy link

w0o commented Dec 19, 2024

Bug

We are seeing an odd behavior where the processing of a TOC table in a word document fails without any errors with the resulting document missing the content that was originally in the TOC.
What we have tried:

  • Using OCR fails with the TOC content being omitted.
  • Exporting to PDF (using Word) and then using docling to convert to markdown works as expected with no content omissions.

Steps to reproduce

Use attached minimal example docx file and run:

docling sample.docx

resulting in the attached Markdown file which has the TOC content missing.

Docling version

Docling version: 2.13.0
Docling Core version: 2.12.1
Docling IBM Models version: 3.1.0
Docling Parse version: 3.0.0

Python version

Python 3.11.11

Note: all shared samples and publicly available documents.
sample.md
sample.docx

@w0o w0o added the bug Something isn't working label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant