Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
the-solipsist opened this issue Oct 5, 2021 · 1 comment
Open

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

the-solipsist opened this issue Oct 5, 2021 · 1 comment
Assignees

Comments

@the-solipsist
Copy link
Contributor

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?

@korintje
Copy link
Contributor

korintje commented Jan 8, 2022

@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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants