-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Added Hayagriva YAML export #10451
Added Hayagriva YAML export #10451
Conversation
I think this looks already good. However, I think it's not necessary to have the own author formatter as they say they can be specified either in square brackets or in verbose mode with multiple authors under each other: jabref/src/main/resources/resource/layout/yaml.layout Lines 3 to 6 in 3f53201
could be reused here as well? (except the "literal") Edit// Parent could refer to the crossref (e.g. inbook -> book) field in JabRef, but I don't know if or how this can be used in layouts. I would leave this out. |
Can you also please add a test for this? See the YamlExporterTest as an example |
@JawadTUE How is the status here? Codewise it looked already good. Just unit tests missing |
I will finish this by tomorrow. |
I added the unit tests. These are basically the same as the tests in |
Fixes #10382
I added Hayagrive YAML export based on their documentation.
The following fields are not included, because I did not find a relevant field for them in Jabref: parent, affiliated, issue, volume-total, page-total, time-range, runtime, serial-number, language, archive, archive-location.
HayagrivaType.java
contains the mapping from Jabref type to Hayagriva Entry Type.I confirmed that the exported
.yaml
file works with the typst system by usinghayagriva literature.yml reference
as stated in their documentation.Mandatory checks
CHANGELOG.md
described in a way that is understandable for the average user (if applicable)