I just released version 0.3.0 with a few new features and bugfixes.
New features:
“Open literature note” modal now supports new actions: pressing Tab will open the corresponding reference in Zotero; pressing Ctrl+Enter will open the note in a new pane
Template variables containerTitle (journal name for a paper; book for a book chapter), abstract, URL, zoteroSelectURI, and more now available. See the plugin’s settings tab for documentation.
Provide a notification when the citation library cannot be loaded.
Other changes:
Various improvements to the plugin setting tab.
Avoid crashing when opening references with missing publication dates.
Avoid crashing when creating literature notes whose titles contain disallowed characters. (These characters are now replaced with underscores.)
@phlind, thanks for the suggestion – I’ve added the Pandoc format citation to the to-do list.
@mfperdi, you can change the plugin’s hotkeys in the Obsidian “Hotkeys” settings tab. Search there for “citations”. I’ve added your second idea to the to-do list!
Ok, creating a Literature Notes folder solved the issue, but… what if I do not want to have one? Nor need to have literature notes formatted like this? I simply want to be able to cite my literature.
Otherwise, great plugin — the citation plugin was the last thing missing. Thanks for doing this.
Thanks for the great plugin. It works for me but doesn’t show the metadata in the preview mode. There is metadata info in the edit mode but it shows nothing in preview.
I disabled the css and the problem is still there.
I was using this but I would change the name to have the literature note title template that I want to use for my citations. Unfortunately, when I use Ctr-Shift-E the citation would be the original one @{{citekey}} instead of the name I changed it to and keep creating a new document with the previous name.
My note template is today’s date S-type of source-@{{citekey}}- shortened title
I do make an alias with @{{citekey}} though.
Is it possible to allow changing the title without creating the new document and use the name I changed it to when I use Ctr-Shift-E?
Hi @Elin, thanks for trying it out! You can change the template for a literature note title in the plugin settings tab, though not all of the properties you mentioned are available at the moment. I’ll put them on the to-do list. (“type of source” can be read from the Zotero export, I believe, though the particular labels probably won’t match your existing set exactly.)
Unfortunately this is pretty far beyond the current powers of the plugin – we don’t keep track of citekey–note relations, beyond the configurable title mapping discussed above. It’d require quite a bit of extra infrastructure to get done, so I probably won’t pursue it unless there is considerable demand.
That’s ok, thanks for replying! I think I would keep 2 notes for each citation, one the normal bibliographic stuff and the notes that would be linked with the citation.
One more question. I have my Obsidian vault on my iCloud to access my notes on Windows, Mac, and iOS/iPadOS. Is there a way to set the JSON file exported from Zotero to a relative path within the vault instead of an absolute one?
This is great! My current reading note title format is {{lastname}} {{year}} - {{shorttitle}}, which I do manually. Would be great if it were possible to make that from a template (and would be a good prod for me to get my Zotero library in order…).
I have the same request of @npseaver. {{authorString}} gives name and surname of the author, whereby it would be better to have in the note title template only surname/lastname.