jez / pandoc-sidenote

Convert Pandoc Markdown-style footnotes into sidenotes
MIT License
141 stars 17 forks source link

Incompatible API versions #31

Open damienbelveze opened 10 months ago

damienbelveze commented 10 months ago

Hello, and I wish you the best for the New Year !

I have successfully installed pandoc-sidenotes with Stack on my Windows10 laptop. But when I use this filter in a pandoc command such as :

pandoc file.md --filter pandoc-sidenotes -o file.pdf

I get the following error :

pandoc-sidenote: Error in $: Incompatible API versions: encoded with [1,22,2,1] but attempted to decode with [1,23].
CallStack (from HasCallStack):
  error, called at src\Text\Pandoc\JSON.hs:108:64 in pandoc-types-1.23-6lVli8kJOcQK3Pb5YpKd1J:Text.Pandoc.JSON
Error running filter pandoc-sidenote:
Filter returned error status 1

Could you please tell me what is going wrong. Maybe I should use it differently, but I don't know how.

Regards,

DB

sarahciston commented 10 months ago

Hi, I am also encountering this issue after installing on MacOS12.6 with brew.

pandoc-sidenote: Error in $: Incompatible API versions: encoded with [1,22,1] but attempted to decode with [1,23].
CallStack (from HasCallStack):
  error, called at src/Text/Pandoc/JSON.hs:108:64 in pandoc-types-1.23-2DdtSDCGYZd8HWDhV4DIl9:Text.Pandoc.JSON
Error running filter pandoc-sidenote:
Filter returned error status 1

Tried reinstalling at the same time as pandoc but no fix yet. Thanks for your help!