Right now I’ve just implemented the feature most important to me, which is quick within-Obsidian search of a reference database. You can automatically create literature notes for a particular reference according to your own templates.
I’ve developed this for use with Zotero to start, but it could work right now with any reference manager that can export to CSL-JSON. You can find setup instructions in the GitHub readme.
Lots more features I would like to add in time, including…:
Open papers from the search dialog
Automatically copy PDF annotations from Zotero into a new note, without leaving Obsidian
Peek at a paper’s abstract from within the search dialog
Pretty-render paper references in Obsidian Preview mode as full APA/etc. citations
Let me know if it works (or doesn’t) for you, and what other features you’d be interested in seeing!
Does that also mean that you’re planning to add a feature to insert references itself in markdown quotation style [@Paper2020, 123]? That would be very interesting, because it would implement a solution for what I have hacked together here: How I enter citekey references in Obsidian using the terminal
Hi @Max73!
Did you put full name to your file like /Users/daniel/Dropbox/Zettlekasten/My Library.json
Or only /Users/daniel/Dropbox/Zettlekasten
You should insert path to the file there
Hi @jgauthier great plugin!
Do you consider change “Citation export path” to “Citation database path (Better CSL JSON)” , it could be less ambiguous to newer users?
I just released a version 0.2.0 with the following changes:
New features:
Library is auto-reloaded whenever the export file is updated, no Obsidian refresh necessary
Minor changes:
Clarified configuration setting re: literature note paths. The new version presents a simpler option, ‘Literature note folder.’ Existing users will have to reconfigure with this new setting.
“Insert citation” hotkey default changed to Ctrl-Shift-E, since the former overlapped with the default Obsidian console hotkey
Hi, looks like you’re not the only one with this issue, though I can’t reproduce it on my end. Can you try to reproduce the issue while the Obsidian developer console is open (Ctrl+Shift+I) and tell me whether you see any errors appear there?
Unfortunately I can’t reproduce the issue over here, so this must be a platform-specific thing. Can you open the Obsidian developer console (Ctrl+Shift+I), reproduce the bug, and let me know if any errors appear in the console? Thanks!
Clarified configuration setting re: literature note paths. The new version presents a simpler option, ‘Literature note folder.’ Existing users will have to reconfigure with this new setting.
This really confused me since nowhere in the config panel I couldn’t find this option
It would be great if you could insert the Zotero path as a placeholder in the Literature Note Template, like this: Kierkegaard. 1992. Der Begriff Angst.
Unfortunately the plugin doesn’t work if you have “:” in your citekey (e.g. @Name:2020), because it can’t create a literature note within obsidian. But that can probably not be fixed on your side. So I guess, I have to remove all “:” from my citekeys.
Another problem I stumbled upon: If I try to insert the link for this source, an error is produced:
Uncaught (in promise) TypeError: Cannot read property 'toString' of null
at CitationPlugin.getTitleForCitekey (eval at <anonymous> (app.js:1), <anonymous>:388:30)
at CitationPlugin.getPathForCitekey (eval at <anonymous> (app.js:1), <anonymous>:392:26)
at CitationPlugin.eval (eval at <anonymous> (app.js:1), <anonymous>:411:37)
at step (eval at <anonymous> (app.js:1), <anonymous>:70:23)
at Object.eval [as next] (eval at <anonymous> (app.js:1), <anonymous>:51:53)
at eval (eval at <anonymous> (app.js:1), <anonymous>:44:71)
at new Promise (<anonymous>)
at __awaiter (eval at <anonymous> (app.js:1), <anonymous>:40:12)
at CitationPlugin.getOrCreateLiteratureNoteFile (eval at <anonymous> (app.js:1), <anonymous>:406:16)
at CitationPlugin.eval (eval at <anonymous> (app.js:1), <anonymous>:437:22)
“:” in citekey: Hmm, I think it might be good to automatically convert characters that would produce an invalid filename into underscores or something. Will think about this one more, though.
This will be fixed in the next version. This error is triggered because the entry is missing a year.
@jgauthier Thanks for your answer. I now changed all citekeys to be without “:”. Probably it would be better for the plugin not to convert, but to display an error, so that the keys can be consistent.
Btw: Did you see my post above? It would be great to have another shortcut to enter just the citekey in pandoc format [@citekey]. Would be nice for people who directly write parts of papers or books in Obsidian.