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
output preferred-citation #158
Comments
Make it transparent that cffconverter does not (yet) support version 1.2.0 as long as citation-file-format/cffconvert#158 is not resolved.
Hi folks, I'm on the fence about supporting |
What do you mean? You don't want to support the full official schema? |
Hi @jspaaks, An option for outputting the preferred citation is highly needed for scientific software which is produced from research. |
Hi @eddiebergman and others who upvoted, |
Updated the issue title since cffconvert 2.0.0 with support for CFF 1.2.0 was released (https://pypi.org/project/cffconvert/) |
Hi @jspaaks, Thanks for the reply and the tool :) I help manage quite a few libraries in the automl.org group, each of which the scientific paper is a much preferred citation point than the software itself. I'm using cffconverrt -f bibtex It would be nice to have an option cffconvert --preferred-citation -f bibtex |
Also from me great thanks for all the work and effort for this tool! In addition to the idea of @eddiebergman I would like to have some kind of remark for the default export to indicate that a preferred citation even exists. When I currently export the citation with cffconvert, the message block is completely dropped. This behavior I consider not best practice. Maybe that hint could be maintained by turning the cff message into a bibtex note?
-->
An even more complex solution might be to export both the software and the preferred-citation as independent bibtex entries but I can understand that that would be a bit more effort. |
One side note - when you add the CITATION.cff file to GitHub, it automatically resolved 'preferred-citation'. In the background this relies on the sister project https://github.com/citation-file-format/ruby-cff. Thus, maybe what was proposed as |
I agree—this is the more intuitive behavior, especially given that it's what the GitHub citation export feature already does. Plus, the field is called "preferred-citation" for a reason. Creators of CITATION.cff files provide it because that's how they want to be cited, and this tool should heed that. |
Also, currently it looks like there is no way to check if It looks like |
I don't think that's true, could you share the relevant
Note GitHub uses |
I agree. There doesn't seem to be any other key in the CFF format that fits this need, other than For the Zenodo backend, I created PR #385 to pass the information in CFF |
I updated my PR #385 to handle bibtex output too along the lines suggested by @1kastner , turned out it was fairly simple. |
Currently
cffconvert --validate
leads to a traceback:In addition I think cffconvert should output the preferred-citation, or have a flag to allow outputting the preferred-citation.
The text was updated successfully, but these errors were encountered: