diff options
Diffstat (limited to 'data/templates/article.jats_publishing')
-rw-r--r-- | data/templates/article.jats_publishing | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/data/templates/article.jats_publishing b/data/templates/article.jats_publishing index ce184c0ed..b64425fd8 100644 --- a/data/templates/article.jats_publishing +++ b/data/templates/article.jats_publishing @@ -14,6 +14,13 @@ $endif$ $if(journal.pmc)$ <journal-id journal-id-type="pmc">$journal.pmc$</journal-id> $endif$ +$-- Fallback: an empty journal-id in case none is available. +$if(journal.publisher-id)$ +$elseif(journal.nlm-ta)$ +$elseif(journal.pmc)$ +$else$ +<journal-id></journal-id> +$endif$ <journal-title-group> $if(journal.title)$ <journal-title>$journal.title$</journal-title> @@ -28,6 +35,12 @@ $endif$ $if(journal.eissn)$ <issn pub-type="epub">$journal.eissn$</issn> $endif$ +$-- At least one issn element is required; use empty issn as fallback +$if(journal.pissn)$ +$elseif(journal.eissn)$ +$else$ +<issn></issn> +$endif$ <publisher> <publisher-name>$journal.publisher-name$</publisher-name> $if(journal.publisher-loc)$ |