anoopkcn / obsidian-reference-map

Reference and citation map for literature review and discovery
GNU General Public License v3.0
200 stars 6 forks source link

unable to add paper when using citekey #14

Closed irzhegalova closed 1 year ago

irzhegalova commented 1 year ago

Hey, it's me again :) Is it me or have I found a weird bug? From yesterday RefMap is unable to recognize papers using citekey, although it is in my Zotero library. Let me show you an example (see attachment): when using doi.org/10.1016/j.arr.2022.101807 paper is recognized, when using [@raffinSedentaryBehaviorBiological2023] it is not. Screenshot from 2023-01-24 18-52-57

Screenshot from 2023-01-24 18-51-54 Screenshot from 2023-01-24 18-51-30

anoopkcn commented 1 year ago

Is the DOI field in the Zotero info pane of the paper empty? refmap can only find papers with citekey which has a valid doi in the Zotero metadata info.

you can also check closed issue #11 to see if its similar

irzhegalova commented 1 year ago

Not really, doi is fine. Some of them contain doi.org stuff, some do not. I tried to go through closed issue and installed Doi formatter, reload Zotero and Obsidian, but still the problem persist. But I also noticed that this problem only occur for papers added to Zotero AFTER installing RefMap, I tried few added before that and it went smoothly.

I also checked my json-library, it also looks exactly the same.

Another consideration is that for papers added after RefMap there is still doi inside {{id}} field so probably these events are linked somehow?

anoopkcn commented 1 year ago

But I also noticed that this problem only occur for papers added to Zotero AFTER installing RefMap, I tried few added before that and it went smoothly.

Could it be that your CSL JSON file is not automatically updating (do you have background updated turned on in Better bibtex)?

irzhegalova commented 1 year ago

oh yes! I accidentally created two JSON-files and was updating one while using another. Thank you so much!