hans / obsidian-citation-plugin

Obsidian plugin which integrates your academic reference manager with the Obsidian editor. Search your references from within Obsidian and automatically create and reference literature notes for papers and books.
MIT License
1.12k stars 83 forks source link

Citations doesn't find reference in my bibliography file #235

Closed MatthieuFra closed 1 year ago

MatthieuFra commented 1 year ago

Describe the bug I can't make the plugin load the references from my betterbibtex file : The bibliography file is in .json, and if I select CSL-JSON I get "Unable to load citations, please update Citation plugin settings", and if i take BibLaTeX, I have "Loaded library with 0 references".

Console output In the console I get :

plugin:obsidian-citation-plugin:85718 TypeError: entries.map is not a function
    at eval (plugin:obsidian-citation-plugin:85707:84)

Expected behavior I wanted Citation to load all the references. The json isn't empty I've checked with SublimeText.

Platform

Thanks a lot for your help!

Matthieu

MatthieuFra commented 1 year ago

It's resolved, I don't know why, but it doesn't work with BibLaTeX, but if I export in Better CSL-JSON it works.