-
-
Notifications
You must be signed in to change notification settings - Fork 56
Description
Describe your request
Hi,
First of all, thank you for this incredible plugin — it has completely transformed the way I work with PDFs in Obsidian.
I noticed you're working on v1.0.0 — I Hope these suggestions might be considered for that release, as they seem well-suited to a refactoring phase.
1. Option to preserve or automatically rejoin hyphenated words when copying text
Currently, when copying text containing line-break hyphens, PDF++ removes the hyphen but leaves a space between the two fragments (e.g. "philo sophy" instead of "philosophy"). This makes regex-based post-processing unreliable.
I would suggest adding a binary setting — perhaps in a new "Text post-processing" section — with two options :
- Remove hyphen and leave a space (current behavior)
- Automatically rejoin the two fragments into a single word
The second option would be the more useful default for most users, since hyphenated compound words are far less frequent than words broken across lines.
2. Option to remove footnote indicators when copying text
Academic PDFs frequently contain superscript footnote numbers embedded in the text. When copied, these appear as characters directly adjacent to words or punctuation marks (e.g. "philosophy1" or "concept,2"), with no space. In the humanities — and arguably in most academic writing — a digit immediately following a letter or punctuation mark without a space can only be a footnote indicator, never meaningful content.
A binary setting to strip these characters before pasting would be very welcome, again perhaps as part of a dedicated post-processing section.
3. Command to merge two PDF++ callouts into one
Copying text that spans two pages is currently not possible in a single operation. As a workaround, users can make two separate copies, but this results in two callouts and two highlight markers for what is semantically a single citation.
A dedicated command to merge two selected PDF++ callouts into one — combining their text and consolidating the link — would elegantly solve this problem without requiring changes to the underlying copy mechanism.
Thank you very much for considering this request.
P.S. — Two minor typos
Not being a programmer myself, there is little I can do beyond flagging these — but I hope it helps nonetheless.
In the description of the first setting under both "PDF outline (table of contents)" and "PDF thumbnails", the following phrase appears:
"You may want to turn this off to avoid conflicts with hover+ctrlReopen tabs…"
A space is missing between "hover+ctrl" and "Reopen" in both instances.