Humans-of-Julia / BibParser.jl

Parser for bibliographic formats, including BibTeX, in pure Julia
MIT License
13 stars 4 forks source link

Feature/cff support #24

Closed mcmarius closed 2 years ago

mcmarius commented 3 years ago

Related to https://github.com/Humans-of-Julia/Bibliography.jl/issues/39

Azzaare commented 2 years ago

@mcmarius sorry to check your PR just now, I was totally overwhelmed by other tasks. I'm going to have a look now

mcmarius commented 2 years ago

The implementation follows the behavior of similar libraries (I updated the README to reflect this). For now I think it's good to go; we can add more features/fixes as needed.

Regarding the BibInternal -> cff conversion, I need some clarifications. Do you suggest conversions between all supported formats? I'm not sure if it is feasible long-term, there would be n^n tests :thinking:

I can also make a PR for this other conversion (I guess it would be in Bibliography.jl). Should I wait for this merge in order to do a round-trip conversion? With an input cff containing only supported fields, the resulting cff should be the same.

Azzaare commented 2 years ago

I am merging this PR. I will wait for the export in Bibliography (and https://github.com/Humans-of-Julia/BibInternal.jl/issues/17 to be done) to tag new versions for the three packages.