git.iko.soy/typeable/pandoc
on master help sign in
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.

commitd82fe52a02e43d905f34830162def346d851fc5a authorAlbert Krewinkel <albert@zeitkraut.de> dateFri 29 Jan 2021, 09:42 (6 years ago) parent300b9b0
3 files changed+9
data/templates/article.jats_publishing+2 data/templates/default.jats_articleauthoring+2 doc/jats.md+5
data/templates/article.jats_publishing+2
@@ -95,6 +95,8 @@ $if(author.surname)$
9595<surname>$author.surname$</surname>
9696<given-names>$author.given-names$</given-names>
9797</name>
98+$elseif(author.name)$
99+<string-name>$author.name$</string-name>
98100$else$
99101<string-name>$author$</string-name>
100102$endif$
data/templates/default.jats_articleauthoring+2
@@ -28,6 +28,8 @@ $if(author.surname)$
2828<surname>$author.surname$</surname>
2929<given-names>$author.given-names$</given-names>
3030</name>
31+$elseif(author.name)$
32+<string-name>$author.name$</string-name>
3133$else$
3234<string-name>$author$</string-name>
3335$endif$
doc/jats.md+5
@@ -33,6 +33,11 @@ Metadata Values
3333
3434 See [`<given-names>`][elem:given-names].
3535
36+ `name`
37+ : full name of the author; included only as a fallback if
38+ `author.surname` is not available. Tagged with
39+ [`<string-name>`][elem:string-name].
40+
3641 `email`
3742 : the contributor's email address.
3843