phiresky / pandoc-url2cite

Effortlessly and transparently add correctly styled citations to your markdown paper given only a URL
Other
122 stars 9 forks source link

Pandoc-citeproc no longer part of pandoc #4

Closed shmalebx9 closed 3 years ago

shmalebx9 commented 3 years ago

It seems the newest version of pandoc replaces pandoc-citeproc with citeproc. Pandoc-url2cite now complains that it cannot find pandoc-citeproc and exits when running with pandoc.

phiresky commented 3 years ago

Thank you.

The code was using citeproc to convert bibtex to CSL JSON:

pandoc-citeproc --bib2json --format=biblatex

I've replaced that with pandoc --from=biblatex --to=csljson which seems to work the same way.

I've also replaced --filter=pandoc-citeproc with --citeproc in the examples since it is now integrated.