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>
|
<surname>$author.surname$</surname>
|
||||||
<given-names>$author.given-names$</given-names>
|
<given-names>$author.given-names$</given-names>
|
||||||
</name>
|
</name>
|
||||||
|
$elseif(author.name)$
|
||||||
|
<string-name>$author.name$</string-name>
|
||||||
$else$
|
$else$
|
||||||
<string-name>$author$</string-name>
|
<string-name>$author$</string-name>
|
||||||
$endif$
|
$endif$
|
||||||
|
|
|
@ -28,6 +28,8 @@ $if(author.surname)$
|
||||||
<surname>$author.surname$</surname>
|
<surname>$author.surname$</surname>
|
||||||
<given-names>$author.given-names$</given-names>
|
<given-names>$author.given-names$</given-names>
|
||||||
</name>
|
</name>
|
||||||
|
$elseif(author.name)$
|
||||||
|
<string-name>$author.name$</string-name>
|
||||||
$else$
|
$else$
|
||||||
<string-name>$author$</string-name>
|
<string-name>$author$</string-name>
|
||||||
$endif$
|
$endif$
|
||||||
|
|
|
@ -33,6 +33,11 @@ Metadata Values
|
||||||
|
|
||||||
See [`<given-names>`][elem:given-names].
|
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`
|
`email`
|
||||||
: the contributor's email address.
|
: the contributor's email address.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue