jlegewie / zotfile

Zotero plugin to manage your attachments: automatically rename, move, and attach PDFs (or other files) to Zotero items, sync PDFs from your Zotero library to your (mobile) PDF reader (e.g. an iPad, Android tablet, etc.), and extract PDF annotations.
4.05k stars 282 forks source link

Is there any plan to reopen the support of the old-fashion zotfile-style "extract annotations"? #591

Closed yangfurong closed 2 years ago

yangfurong commented 2 years ago

Hi. First of all, I would like to thank you for the development and maintenance of Zotfile.

However, I am currently facing a problem with the integrated new function "Add Note from Annotations" in Zotero 6.0.

In Zotero 5.0, I use Zotfile to extract annotations from PDF files to get notes. In those old-fashion notes, for every annotation item, there is a link based on zoteroURI (e.g. "Lee et al 2013:536" links to zotero://open-pdf/library/items/2LW4SP7I?page=1), which allows us to jump into a PDF file at a given location. In the past, I usually export my notes to a dedicated notes management software, Obsidian (i.e. the workflow is like this, https://bagerbach.com/blog/how-i-read-research-papers-with-obsidian-and-zotero). Thus, those zoteroURI based links are vital for me, as they allow me to jump into PDF files at given locations from Obsidian directly. But, in Zotero 6.0, the notes generated by "Add Note from Annotations" no more have explicit zoteroURI-based links, which blocks me from opening PDF files at given locations in Obsidian.

jlegewie commented 2 years ago

Zotero 6.0 does support similar links to open PDFs on particular pages. It's also mentioned in the announcement for 6.0 (https://www.zotero.org/blog/zotero-6/). You have to click on the quotation, not the citation at the end (see below).

What I am not sure about is how you copy the citation together with the link to a different application. It might already be possible. You should post on the zotero forum and asked about that functionality. If it does not exist, it is a reasonable feature request.

Overall, it makes much more sense to transition to Zotero annotation management and extraction. Zotfile's implementation is outdated and it does not make sense to duplicate the function. I would figure out how to accomplish your use case with Zotero.

I am also tagging @dstillman here. Maybe he responds directly. Otherwise, just post on the Zotero forum.

Screen Shot 2022-03-22 at 8 58 44 AM
dstillman commented 2 years ago

Yes, Zotero 6 includes built-in support for Markdown export via Quick Copy, with zotero://open-pdf links back to the PDF. You can test with any plain-text editor. With Obsidian, you have to change a setting to prevent it from stripping those links:

https://forums.zotero.org/discussion/comment/401954#Comment_401954

yangfurong commented 2 years ago

Thanks for your comments. It solves the problem.