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.04k stars 76 forks source link

obsidian won't update the note section of pre-existing note after i refreshing database. #226

Open codingToPerfection opened 1 year ago

codingToPerfection commented 1 year ago

Describe the bug

obsidian won't update the note section of pre-existing note after i refreshing database.

I have already checked the updated contents inside .bib file. The newly added notes are inside the .bib file.

In obsidian, I also used 'citations: insert literature note content in the current pane'. It works smoothly.

But, when I use'citations: refresh citation database'. nothing happens to my pre-existing notes.

To Reproduce

None.

Console output

When I execute 'citations: refresh citation database', nothing happens in the console of obsidian.( i pressed ctrl+shift+i to enter)

Expected behavior

notes get updated.

Screenshots

Platform

Additional context nothing.

orionpilot commented 1 year ago

Unfortunately, the plugin does not update currently existing notes. That is, if you have a literature note for an entry in obsidian and you change the entry in the bib file, that change will not be reflected in the literature note. There have been many requests for this feature (see #215, #174, #154, #127, #88).

Furthermore, what you expect the refresh citation dabase command to do is not what it actually does. What refreshing database does do, is to make obsidian aware of a new entry in the bib file. For example, you have obsidian open and you add an entry to zotero. With betterbiblatex, zotero will immediately update the bib file for that new entry. However, obsidian will not see this new entry unless you refresh the database.

codingToPerfection commented 1 year ago

Unfortunately, the plugin does not update currently existing notes. That is, if you have a literature note for an entry in obsidian and you change the entry in the bib file, that change will not be reflected in the literature note. There have been many requests for this feature (see #215, #174, #154, #127, #88).

Furthermore, what you expect the refresh citation dabase command to do is not what it actually does. What refreshing database does do, is to make obsidian aware of a new entry in the bib file. For example, you have obsidian open and you add an entry to zotero. With betterbiblatex, zotero will immediately update the bib file for that new entry. However, obsidian will not see this new entry unless you refresh the database.

thanks for you ellabarations. Thanks !