-
-
Notifications
You must be signed in to change notification settings - Fork 27
Example workflow: Zotero integration
My Template (note: I'm using the ZotFile addon)
You can ignore all the properties but PDF
and citet
.
Title template: Literature notes/{% set n_authors = 0 -%}{%- for creator in creators -%}{%- if creator.creatorType == "author" -%}{%- set n_authors = n_authors + 1 -%}{%- endif -%}{%- endfor -%}{%- if n_authors == 1-%}{%- set authorString = creators[0].lastName -%}{%- elif n_authors == 2 -%}{%- set authorString = creators[0].lastName + " & " + creators[1].lastName -%}{%- else -%}{%- set authorString = creators[0].lastName + " et al." -%}{%- endif -%}{{title}} ({{authorString}}, {{date | format("YYYY")}})/{{title}} ({{authorString}}, {{date | format("YYYY")}}).md
Then I set up PDF++'s display text format like this:

with the PDF
property set here:
