lua-filters icon indicating copy to clipboard operation
lua-filters copied to clipboard

[Suggestion] Use CSL-JSON for doi2cite in place of Bibtex

Open the-solipsist opened this issue 4 years ago • 1 comments

doi2cite currently uses Bibtex (application/x-bibtex): https://github.com/pandoc/lua-filters/blob/master/doi2cite/doi2cite.lua#L105

Given that bibliography details can be downloaded in CSL-JSON format as well, e.g.:

curl -LH "Accept: application/vnd.citationstyles.csl+json" https://doi.org/10.1126/science.169.3946.635

perhaps that should be preferred since it is citeproc's native format?

the-solipsist avatar Oct 05 '21 20:10 the-solipsist

@the-solipsist I'm sorry for not noticing the suggestion for a long time. Honestly I did not know CSL-JSON format, but it seems to be preferred. I will modify the filter later. Thanks for the suggestion!

korintje avatar Jan 08 '22 09:01 korintje