aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/templates/article.jats_publishing2
-rw-r--r--data/templates/default.jats_articleauthoring2
-rw-r--r--doc/jats.md5
3 files changed, 9 insertions, 0 deletions
diff --git a/data/templates/article.jats_publishing b/data/templates/article.jats_publishing
index 4bdb3f278..15d2e3b08 100644
--- a/data/templates/article.jats_publishing
+++ b/data/templates/article.jats_publishing
@@ -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$
diff --git a/data/templates/default.jats_articleauthoring b/data/templates/default.jats_articleauthoring
index 94c929548..ef2aed769 100644
--- a/data/templates/default.jats_articleauthoring
+++ b/data/templates/default.jats_articleauthoring
@@ -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$
diff --git a/doc/jats.md b/doc/jats.md
index 362ae3bef..0faea8b06 100644
--- a/doc/jats.md
+++ b/doc/jats.md
@@ -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.