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

Don't read PDF page header/footer #25

Closed
ken107 opened this issue Oct 15, 2017 · 1 comment
Closed

Don't read PDF page header/footer #25

ken107 opened this issue Oct 15, 2017 · 1 comment

Comments

@ken107
Copy link
Owner

ken107 commented Oct 15, 2017

Strangely, header/footer text are always read first.

Strategy: grab the text of the next page and trim the head and tail that's the same on both pages.

@ken107
Copy link
Owner Author

ken107 commented Oct 10, 2021

Also, don't read annotations

Strategy: remove comma-separated series of numbers that follow punctuations (no whitespace).
Make sure what precedes the punctuation isn't a number or whitespace either.

ken107 added a commit that referenced this issue Jul 8, 2022
@ken107 ken107 closed this as completed Jul 8, 2022
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

No branches or pull requests

1 participant