mgmeyers / obsidian-zotero-integration

Insert and import citations, bibliographies, notes, and PDF annotations from Zotero into Obsidian.
GNU General Public License v3.0
1.06k stars 55 forks source link

Import PDF does not allow choice among multiple attached pdf's. #63

Open Gnossos opened 2 years ago

Gnossos commented 2 years ago

Maybe this issue is really my lack of understanding of Nunjucks as it interfaces with Zotero's API. But my usual workflow is:

This allows me to keep and distinguish both marked and unmarked versions of the pdf file.

Now in Obsidian and using an Import Format in the Zotero-Integration plugin, I want to be able to choose among the two attached pdfs. But although the plugin successfully displays Zotero's Desktop Connector, I see no way to select which pdf to import.

FeralFlora commented 7 months ago

You could do something like:

{% set annotatedAttachment = attachments | filterby("title", "contains", "marked") %}