aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorAlbert Krewinkel <[email protected]>2022-05-01 13:01:30 +0200
committerAlbert Krewinkel <[email protected]>2022-05-01 13:02:53 +0200
commit843eeae13d4cb2a7e8c1ed0d151a691c83adf72f (patch)
tree92e48884b00e9d79fe4307ce1c05e8762c7de0f0 /data
parentc1105e6b06d7436f43236191e32156a863de0e13 (diff)
JATS template: include particles, prefix, suffix in names
Diffstat (limited to 'data')
-rw-r--r--data/templates/article.jats_publishing10
-rw-r--r--data/templates/default.jats_articleauthoring10
2 files changed, 16 insertions, 4 deletions
diff --git a/data/templates/article.jats_publishing b/data/templates/article.jats_publishing
index f78540fab..40db76f4b 100644
--- a/data/templates/article.jats_publishing
+++ b/data/templates/article.jats_publishing
@@ -95,8 +95,14 @@ $if(author.orcid)$
$endif$
$if(author.surname)$
<name>
-<surname>$author.surname$</surname>
-<given-names>$author.given-names$</given-names>
+<surname>$if(author.non-dropping-particle)$${author.non-dropping-particle} $endif$$author.surname$</surname>
+<given-names>$author.given-names$$if(author.dropping-particle)$ ${author.dropping-particle}$endif$</given-names>
+$if(author.prefix)$
+<prefix>${author.suffix}</prefix>
+$endif$
+$if(author.suffix)$
+<suffix>${author.suffix}</suffix>
+$endif$
</name>
$elseif(author.name)$
<string-name>$author.name$</string-name>
diff --git a/data/templates/default.jats_articleauthoring b/data/templates/default.jats_articleauthoring
index c34f2d2f0..51c52af31 100644
--- a/data/templates/default.jats_articleauthoring
+++ b/data/templates/default.jats_articleauthoring
@@ -28,8 +28,14 @@ $if(author.orcid)$
$endif$
$if(author.surname)$
<name>
-<surname>$author.surname$</surname>
-<given-names>$author.given-names$</given-names>
+<surname>$if(author.non-dropping-particle)$${author.non-dropping-particle} $endif$${author.surname}</surname>
+<given-names>${author.given-names}$if(author.dropping-particle)$ ${author.dropping-particle}$endif$</given-names>
+$if(author.prefix)$
+<prefix>${author.suffix}</prefix>
+$endif$
+$if(author.suffix)$
+<suffix>${author.suffix}</suffix>
+$endif$
</name>
$elseif(author.name)$
<string-name>$author.name$</string-name>