when I use logseq in one computer with user name is userA, the annotate pdf path is /User/userA/Zotero/…, while I switch to another computer with user name is userB, the pdf path in the note is falied, I think it should use relative path for all attachments…
For example, Computer 1 is Windows , and computer 2 is Mac, they have different Zotero data path.
The annotation file (with filename of “hls XXX…” ) created on Mac can not be opened on Windows.
PS: I noticed that someone also suggested this request.
- Zotero pdf annotate for relative path - Giters
This would be very helpful!
Create a unique drive letter that maps to the desired folder on both computer
subst Z: C:\Users\mancub\Dropbox\Zotero and then use the path with the drive letter to load your file
Please explain this in more detail - what does subst achieve? I still see an absolute path, so this would not work across devices if the paths are different, eg because one is a Windows machine (in the office) one is a Mac (in the lab) and one is a linux laptop.
I have created a related feature request here where i point to a successful implementation of this feature in zettlr Link to external pdfs in local Zotero folder and Better BibTex support
subst create a virtual drive that maps to a folder on a physical disk, on Windows. This would not work on macOS or Linux, unless you implement the equivalent workaround for each operating system.
Thanks for the explanation - unfortunately a windows only solution does not work for me. This needs to work cross-platform which is why zettlrs approach, which achieves this sees the most promising: Relative path for Zotero data directory - #4 by menelic
Just want to say that this would also be VERY useful to me. I’d love to store everything that I reference in Zotero and see it within logseq across computers, but without access to relative paths I’m just not sure how its possible on mac.
Same request here! Nice feature if implemented. thanks!