JATS templates: tag author.name as string-name

The partitioning the components of a name into surname, given names,
etc. is not always possible or not available. Using `author.name` allows
to give the full name as a fallback to be used when `author.surname` is
not available.
This commit is contained in:
Albert Krewinkel 2021-01-29 09:42:25 +01:00
parent 300b9b0ea3
commit d82fe52a02
No known key found for this signature in database
GPG key ID: 388DC0B21F631124
3 changed files with 9 additions and 0 deletions

View file

@ -95,6 +95,8 @@ $if(author.surname)$
<surname>$author.surname$</surname>
<given-names>$author.given-names$</given-names>
</name>
$elseif(author.name)$
<string-name>$author.name$</string-name>
$else$
<string-name>$author$</string-name>
$endif$

View file

@ -28,6 +28,8 @@ $if(author.surname)$
<surname>$author.surname$</surname>
<given-names>$author.given-names$</given-names>
</name>
$elseif(author.name)$
<string-name>$author.name$</string-name>
$else$
<string-name>$author$</string-name>
$endif$

View file

@ -33,6 +33,11 @@ Metadata Values
See [`<given-names>`][elem:given-names].
`name`
: full name of the author; included only as a fallback if
`author.surname` is not available. Tagged with
[`<string-name>`][elem:string-name].
`email`
: the contributor's email address.