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.06k stars 282 forks source link

Adding %(itemkey) to be able to add the key of the parent item. #479

Open bjohas opened 4 years ago

bjohas commented 4 years ago

I'd previously added %(group) and %(key), which are both for the attachment (i.e., the group/key for the attachment, rather than the parent). (See https://github.com/jlegewie/zotfile/pull/384)

%(itemkey) now adds the key for the parent.

This makes it possible to create extracts of and include the reference to the parent, rather than the file zotero://select/groups/2129771/items/3I3WZ9D9

Thanks!