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

Support "Caret" annotation #61

Closed
srenault-list opened this issue Sep 7, 2022 · 4 comments
Closed

Support "Caret" annotation #61

srenault-list opened this issue Sep 7, 2022 · 4 comments

Comments

@srenault-list
Copy link

It would be nice if the program could extract "Caret" annotations as well, which are the opposite of StrikeOut (suggestion of new text within a context).

@0xabu
Copy link
Owner

0xabu commented Oct 28, 2022

Thanks for the suggestion! Do you have an example of a PDF with such annotations?

@srenault-list
Copy link
Author

Hi, sure. Here is a very basic example with one text addition (insertion) suggestion.
1_caret annotation example.pdf

It might be nice if pdfannots could return a bit of context (i.e. some of the text before and after the insertion suggestion) in addition to the text insertion suggestion.

@0xabu
Copy link
Owner

0xabu commented Dec 29, 2024

Quick update on this: the just-merged PR #102 adds some infrastructure for handling Caret annots and produces output for the specific case of a caret&strikeout pair, but doesn't usefully handle the bare insertion case in the example above so this stays open for now. I hope to get to it soon though.

@0xabu
Copy link
Owner

0xabu commented Dec 30, 2024

Now done. The output is a little ugly, but I couldn't think of anything much better.

@0xabu 0xabu closed this as completed Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants