From c694a6e4f587128581b3252169591dfcee3652f4 Mon Sep 17 00:00:00 2001 From: Albert Krewinkel Date: Thu, 31 Mar 2022 21:42:45 +0200 Subject: [PATCH] JATS template: allow multiple copyright statements, years, holders --- data/templates/article.jats_publishing | 12 ++++++------ data/templates/default.jats_articleauthoring | 12 ++++++------ doc/jats.md | 13 +++++++++---- 3 files changed, 21 insertions(+), 16 deletions(-) diff --git a/data/templates/article.jats_publishing b/data/templates/article.jats_publishing index 47ab8f197..640e88572 100644 --- a/data/templates/article.jats_publishing +++ b/data/templates/article.jats_publishing @@ -174,15 +174,15 @@ $if(history)$ $endif$ $if(copyright)$ -$if(copyright.statement)$ +$for(copyright.statement)$ $copyright.statement$ -$endif$ -$if(copyright.year)$ +$endfor$ +$for(copyright.year)$ $copyright.year$ -$endif$ -$if(copyright.holder)$ +$endfor$ +$for(copyright.holder)$ $copyright.holder$ -$endif$ +$endfor$ $if(copyright.text)$ $copyright.text$ diff --git a/data/templates/default.jats_articleauthoring b/data/templates/default.jats_articleauthoring index 01042b001..90d98f2bf 100644 --- a/data/templates/default.jats_articleauthoring +++ b/data/templates/default.jats_articleauthoring @@ -51,15 +51,15 @@ $endfor$ $endif$ $if(copyright)$ -$if(copyright.statement)$ +$for(copyright.statement)$ $copyright.statement$ -$endif$ -$if(copyright.year)$ +$endfor$ +$for(copyright.year)$ $copyright.year$ -$endif$ -$if(copyright.holder)$ +$endfor$ +$for(copyright.holder)$ $copyright.holder$ -$endif$ +$endfor$ $if(copyright.text)$ $copyright.text$ diff --git a/doc/jats.md b/doc/jats.md index d63327182..9e9ab10fb 100644 --- a/doc/jats.md +++ b/doc/jats.md @@ -159,16 +159,21 @@ Metadata Values together. `statement` - : the year of copyright; used as content of the - [``][elem:copyright-statement] + : copyright notice or statement; used as content of the + [``][elem:copyright-statement]. Use a + list for multiple statements. `year` : the year of copyright; used as content of the - [``][elem:copyright-year] + [``][elem:copyright-year]. Use a list to + for multiple copyright years. The JATS documentation + states that this field need not to be used if the year is + included in the copyright statement. `holder` : the copyright holder; included via the - [``][elem:copyright-holder] element. + [``][elem:copyright-holder] element. Use + a list for multiple copyright holders. `text` : inline text setting the license under which the text is