Comments (7)
This feature has finally come true in 0.36.0!
from obsidian-pdf-plus.
Thanks for the idea. I do agree such a functionality should be very useful, and it will be technically possible. But I'm worrying about the risk of introducing too much plugin-dependent stuff, because
- this plugin uses a lot of non-public API of Obsidian and dives very deep into Obsidian's internals, so I has a relatively high risk of breaking when Obsidian is updated.
- also there is no guarantee that I can continue maintaining this plugin for years.
So I'm trying to be careful when introducing an original notation or something.
A workaround available now is the offset=x,y,z
notation, where x,y
specifies the upper-left corner position of the embedded area, and z
specifies the zoom scale, if I understand correctly. e.g. [[file.pdf#page=1&offset=x,y,z]]
from obsidian-pdf-plus.
I think rectangle annotation is too important to discard. I do want to add this feature to this plugin.
But as I said, I don't want to go too far away from Obsidian's native syntax.
Given this constraint, another workaround available currently is
- First, open a target PDF file in an external PDF viewer application (such as Adobe Acrobat and PDF Expert).
- Add a rectangle annotation in this external app.
- Go back to Obsidian. Obsidian can link to an annotation with its ID, so you can link to the rectangle that you added in the last step. You can also make the link an embed by prepending
!
(but the annotation embed trimming feature has a problem now: #9).
Also, maybe this plugin could implement something like:
- A user can use a rectangle area selection tool to add a rectangle annotation to a PDF file.
- Once the rectangle annotation is embedded into the PDF file, the user can link to the rectangle using Obsidian's native syntax
[[file.pdf#page=<PAGE>&annotation=<ANNOTATION ID>]]
.
This could be doable.
from obsidian-pdf-plus.
If Obsidian's native syntax support &width=xxx.
Unfortunately it doesn't. But thanks for the suggestion!
from obsidian-pdf-plus.
Now that we can add annotations directly into PDFs, we have come a little bit closer to making this happen.
from obsidian-pdf-plus.
Thanks, I decided to just use #page=3
.
Manually entering x,y,z seems a bit difficult to control.
:)
from obsidian-pdf-plus.
If Obsidian's native syntax support &width=xxx
.
Maybe you can be used [[xxx.pdf#page=1&offset=x,y,z&height=xxx,&width=xxx]]
.
from obsidian-pdf-plus.
Related Issues (20)
- [FR] Hope annotated highlights could show indicator flags
- [FR] Draw on top of PDF Files HOT 1
- [Feature] Auto-update links when renaming colors
- [Bug] In a secondary window, PDF++ context menu is shown with delay together with OS context menu
- [Bug] On mobile, tapping on a color palette does not copy a link
- [Feature] Support annotations with appearance streams
- Something is wrong in the latest release HOT 7
- [Bug] {{text}} or {{selection}} doesn't work for Korean Language HOT 6
- [FR] Hotkeys for different annotation colors HOT 2
- [FR] Extract highlights in the document order in double-column PDFs HOT 2
- [Bug] Nested context menu sometimes not working in popout windows HOT 1
- [FR] Can I add a search button to make it easy to use on mobile? HOT 1
- [FR] Zoom around centre of page (rather than edge) and retain horizontal position when jumping pages HOT 1
- [Bug] HOT 2
- [FR] Automatic Syncing of Annotation Contents to Linked Markdown File HOT 1
- [Feature] Add `offset` backlink indicator icons from context menu
- [FR] need night-mod HOT 2
- [FR] A drawback is the flickering at the moment Obsidian reloads the modified PDF HOT 2
- [FR] Frontmatter for use with supercharged links HOT 1
- [FR] I hope horizontal scrolling will have an option to scroll from right to left. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obsidian-pdf-plus.