From d82fe52a02e43d905f34830162def346d851fc5a Mon Sep 17 00:00:00 2001 From: Albert Krewinkel Date: Fri, 29 Jan 2021 09:42:25 +0100 Subject: 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. --- data/templates/article.jats_publishing | 2 ++ data/templates/default.jats_articleauthoring | 2 ++ 2 files changed, 4 insertions(+) (limited to 'data') 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)$ $author.surname$ $author.given-names$ +$elseif(author.name)$ +$author.name$ $else$ $author$ $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)$ $author.surname$ $author.given-names$ +$elseif(author.name)$ +$author.name$ $else$ $author$ $endif$ -- cgit v1.2.3