diff options
| author | Albert Krewinkel <[email protected]> | 2022-04-04 10:02:07 +0200 |
|---|---|---|
| committer | Albert Krewinkel <[email protected]> | 2022-04-04 10:05:32 +0200 |
| commit | dbc80c1a6b5c28befbf7e791665d53de0f22c5f9 (patch) | |
| tree | 094933344aac1973a621facc894fbb013ea48d62 /data | |
| parent | 836c3c524126718ac90f8d1eda17a3c1ad6ad61e (diff) | |
JATS template: allow multiple licenses to be given.
The `license` metadata field can now be used to set the license of an
article; a list can be used to add multiple license statements.
Diffstat (limited to 'data')
| -rw-r--r-- | data/templates/article.jats_publishing | 5 | ||||
| -rw-r--r-- | data/templates/default.jats_articleauthoring | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/data/templates/article.jats_publishing b/data/templates/article.jats_publishing index 640e88572..68032992c 100644 --- a/data/templates/article.jats_publishing +++ b/data/templates/article.jats_publishing @@ -188,6 +188,11 @@ $if(copyright.text)$ <license-p>$copyright.text$</license-p> </license> $endif$ +$for(license)$ +<license$if(it.type)$ license-type="${it.type}"$endif$$if(it.link)$ xlink:href="${it.link}"$endif$> +<license-p>$if(it.text)$${it.text}$else$${it}$endif$</license-p> +</license> +$endfor$ </permissions> $endif$ $if(abstract)$ diff --git a/data/templates/default.jats_articleauthoring b/data/templates/default.jats_articleauthoring index 90d98f2bf..2c0de2775 100644 --- a/data/templates/default.jats_articleauthoring +++ b/data/templates/default.jats_articleauthoring @@ -65,6 +65,11 @@ $if(copyright.text)$ <license-p>$copyright.text$</license-p> </license> $endif$ +$for(license)$ +<license$if(it.type)$ license-type="${it.type}"$endif$$if(it.link)$ xlink:href="${it.link}"$endif$> +<license-p>$if(it.text)$${it.text}$else$${it}$endif$</license-p> +</license> +$endfor$ </permissions> $endif$ <abstract> |
