From e54f6dcd7a6367d6d6408a4a5151b703aef3c533 Mon Sep 17 00:00:00 2001 From: Albert Krewinkel Date: Thu, 23 Dec 2021 18:45:20 +0100 Subject: JATS template: fix position of contrib affiliations in authoring set Any `` element must come before any `` element. --- data/templates/affiliations.jats | 2 +- data/templates/default.jats_articleauthoring | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/data/templates/affiliations.jats b/data/templates/affiliations.jats index 2df99d75e..17c3cf164 100644 --- a/data/templates/affiliations.jats +++ b/data/templates/affiliations.jats @@ -1,7 +1,7 @@ $-- $-- Affiliations $-- - + $-- wrap affiliation if it has a known institution identifier $if(it.group)$ ${it.group} diff --git a/data/templates/default.jats_articleauthoring b/data/templates/default.jats_articleauthoring index 29abe86c5..01042b001 100644 --- a/data/templates/default.jats_articleauthoring +++ b/data/templates/default.jats_articleauthoring @@ -36,12 +36,12 @@ $elseif(author.name)$ $else$ $author$ $endif$ -$if(author.email)$ -$author.email$ -$endif$ $for(author.affiliation)$ ${ it:affiliations.jats() } $endfor$ +$if(author.email)$ +$author.email$ +$endif$ $if(author.cor-id)$ * $endif$ -- cgit v1.2.3