Open tarleb opened 4 years ago
make sense, maybe we should add aff
as that is the one used in jats?
For author, I would also like to see contrib
and contibutor
and contributors
.
But maybe this is worth investing some thinking if the goal is also to get contributors who are not authors (contrib-type
is not author
in jats) with the same schema ?
Great idea! Sounds like a job for a precompiler, so to speak, which tries to guess as many of the YAML fields as possible and translates them in the correct JOSS-format? I mean, after all it would be great to have something like this for everything in YAML frontmatter (even for Pandoc itself), something like "natural language processor" -- then not only keywords
would work, but also tags
, for instance ... this would emphasize that the YAML frontmatters are less perfect configuration files as you'd expect them from developers, and more the things you'd expect from writers who use frontmatters for metadata!
Pandoc, by default, uses singular fields like
author
andinstitute
, while manubot uses plural names likeauthors
andaffiliations
, and JOSS uses a mix (authors
,affiliations
at the top level,affiliation
as an author property).My suggestion would be to declare both versions valid, with the singular field taking precedence if both are given. So all of the following would be equivalent: