mgmeyers / obsidian-pandoc-reference-list

Display a formatted reference in Obsidian's sidebar for each pandoc citekey in the active document.
GNU General Public License v3.0
171 stars 9 forks source link

Bug: Duplicate citations with multilang CSL #48

Open fortytwominers opened 1 year ago

fortytwominers commented 1 year ago

I use a custom CSL style which supports dynamic formatting depending on the language of the reference. This style includes Russian, English, German and French languages. When citing it detects the language correctly and applies the rules accordingly, yet the plugin duplicates it several times. It doesn't happen with other CSL styles. Example below:

image

xiaoqiangch commented 1 year ago

I have got the same issue

xiaoqiangch commented 1 year ago
image

duplicated citations:

image
mgmeyers commented 11 months ago

Does this problem exist in the latest version of the plugin? I've changed how citekeys are processed.