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:
parent
300b9b0ea3
commit
d82fe52a02
3 changed files with 9 additions and 0 deletions
|
@ -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$
|
||||
|
|
|
@ -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$
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue