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 281 forks source link

Compatibility with build in annotation feature #653

Open iHnR opened 1 year ago

iHnR commented 1 year ago

I think you are probably aware of most of these, but I might as well share my findings.

When sending a PDF to tablet, the annotations made in Zotero are not included. I guess because it saves them separately. Additionally, the annotations made in external editors are visible as annotations (including notes) but can't be edited in Zotero. They also usually use slightly different shades of each color, but that's a minor concern.

The File -> Save As... options does export highlights correctly, so I guess sending to tablet should be easy enough to implement. The reverse would be more challenging. I guess it should be possible by extracting the annotations from the PDF first and putting them in whatever format Zotero likes. All of it could be solved if Zotero's PDF annotator could simply store annotations inside the PDF but it seems this option is not available.

EDIT: Whoops I just found there is the File -> Import Annotations option as well, which extracts the annotations inside the PDF into the Zotero database, so basically all the steps are built in. It would be cool if Zotfile could automate this process.