obsidian-pandoc-reference-list icon indicating copy to clipboard operation
obsidian-pandoc-reference-list copied to clipboard

[BUG] In live preview, if @citekey is in bracket, tooltip doesn't show

Open Mara-Li opened this issue 2 years ago • 5 comments

Tooltip doesn't show up if I add one pair of brackets around the @citekey.

  • Removing the bracket read the tooltip
  • Adding : at the end of the [@citekey] too
  • Tooltip work as intended in reading view

Mara-Li avatar May 12 '22 18:05 Mara-Li

@Mara-Li Could you share screenshots of what you're seeing?

mgmeyers avatar May 12 '22 19:05 mgmeyers

Hi, @mgmeyers. I also meet a similar problem after upgrading the last version, as follow.

image

Bib path is "D:\mybib.bib".

image

Pandoc upgrade to 2.18.

image

cyddgh avatar May 12 '22 19:05 cyddgh

@cyddgh what does the output HTML look like when you run:

pandoc -f markdown -t html --citeproc --bibliography=D:\mybib.bib -o out.html path_to_202205122138test.md

mgmeyers avatar May 12 '22 21:05 mgmeyers

@cyddgh what does the output HTML look like when you run:

pandoc -f markdown -t html --citeproc --bibliography=D:\mybib.bib -o out.html path_to_202205122138test.md

I run it, but failure.

C:\Program Files\Pandoc>pandoc -f markdown -t html --citeproc --bibliography=D:\mybib.bib -o out.html 202205122138test.md
Error reading bibliography file D:\mybib.bib:
(line 3491, column 33):
unexpected 'A'

In my bib file, this line has spaces. I fixed this problem and then success. Everything go well now. Thank you for your helping. This plugin is so useful for academics.

cyddgh avatar May 12 '22 21:05 cyddgh

Well, on my side I don't have problem during export with using the command for html (and export to docx works well too).

My bug is a little different because I have the reference on the side of Obsidian : image But no tooltip : image Unless I use the reading view : image

Mara-Li avatar May 13 '22 07:05 Mara-Li

Is this still an issue @Lisandra-dev ? Citekeys are processed much differently now in the latest version of the plugin.

mgmeyers avatar Sep 19 '23 19:09 mgmeyers

Hello! I'm sorry; I don't use the plugin anymore as I finished my master and don't need pandoc :)

Mara-Li avatar Sep 19 '23 19:09 Mara-Li