Skip to content

only overwrite headers with TOC if the TOC-readout worked for one#16

Merged
krrome merged 1 commit intomainfrom
bug-toc-based-headers-remove-existing-ones
Jan 6, 2026
Merged

only overwrite headers with TOC if the TOC-readout worked for one#16
krrome merged 1 commit intomainfrom
bug-toc-based-headers-remove-existing-ones

Conversation

@krrome
Copy link
Owner

@krrome krrome commented Jan 5, 2026

only overwrite headers with TOC if the TOC-readout gave at least one heading hit with text in the PDF.

fixes #14

@krrome krrome merged commit 24907db into main Jan 6, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

If ToC is faulty, the result is no headers at all.

1 participant