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.javacontains the mapping from Jabref type to Hayagriva Entry Type.I confirmed that the exported
.yamlfile works with the typst system by usinghayagriva literature.yml referenceas stated in their documentation.Mandatory checks
CHANGELOG.mddescribed in a way that is understandable for the average user (if applicable)