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

.cff support #39

Closed
SebastianM-C opened this issue Aug 16, 2021 · 2 comments · Fixed by #41
Closed

.cff support #39

SebastianM-C opened this issue Aug 16, 2021 · 2 comments · Fixed by #41
Milestone

Comments

@SebastianM-C
Copy link

Hi! Thanks for writing this package.
I was wondering if you would consider adding support for reading bibliography data from .cff files. I'm not sure if this feature request is in the scope of this package / org. I would like to add support for .cff files in PkgCite.jl (SebastianM-C/PkgCite.jl#12), and a first step would be to have a package that can read the bibliography info.

@Azzaare
Copy link
Member

Azzaare commented Aug 16, 2021

Hi @SebastianM-C

That is totally within the scope of this package. There are two steps for this to work:

  • Parse .cff and convert the data to BibInternal.jl format (usually done in BibParser.jl)
  • Export BibInternal format to .cff (in Bibliography.jl)

The second step is usually easier and can probably be done quickly.
As for the first step, we can either write the parser or interface an existing one.

I am planning to spend some time on Bibliography in the coming weeks (to add BibLaTeX and CL-JSON support), so it is a good timing.

@Azzaare
Copy link
Member

Azzaare commented Oct 7, 2021

We've been saved by @mcmarius that implemented a CFF parser in BibParser.jl Humans-of-Julia/BibParser.jl#24
I have little knowledge with this format, but it seems to work fine.

Now, if we can handle export to CFF, we're good to go.

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

Successfully merging a pull request may close this issue.

2 participants