From f5ea5f0aad1d5000b326ce4c45c92fdfb1a4b5d3 Mon Sep 17 00:00:00 2001 From: Albert Krewinkel Date: Thu, 13 Feb 2020 05:36:02 +0100 Subject: Introduce new format variants for JATS (#6067) New formats: - `jats_archiving` for the "Archiving and Interchange Tag Set", - `jats_publishing` for the "Journal Publishing Tag Set", and - `jats_articleauthoring` for the "Article Authoring Tag Set." The "jats" output format is now an alias for "jats_archiving". Closes: #6014 --- data/templates/article.jats_publishing | 195 ++++++++++++++++++++++++++ data/templates/default.jats | 200 --------------------------- data/templates/default.jats_archiving | 7 + data/templates/default.jats_articleauthoring | 90 ++++++++++++ data/templates/default.jats_publishing | 7 + 5 files changed, 299 insertions(+), 200 deletions(-) create mode 100644 data/templates/article.jats_publishing delete mode 100644 data/templates/default.jats create mode 100644 data/templates/default.jats_archiving create mode 100644 data/templates/default.jats_articleauthoring create mode 100644 data/templates/default.jats_publishing (limited to 'data') diff --git a/data/templates/article.jats_publishing b/data/templates/article.jats_publishing new file mode 100644 index 000000000..ce184c0ed --- /dev/null +++ b/data/templates/article.jats_publishing @@ -0,0 +1,195 @@ +$if(article.type)$ +
+$else$ +
+$endif$ + + +$if(journal.publisher-id)$ +$journal.publisher-id$ +$endif$ +$if(journal.nlm-ta)$ +$journal.nlm-ta$ +$endif$ +$if(journal.pmc)$ +$journal.pmc$ +$endif$ + +$if(journal.title)$ +$journal.title$ +$endif$ +$if(journal.abbrev-title)$ +$journal.abbrev-title$ +$endif$ + +$if(journal.pissn)$ +$journal.pissn$ +$endif$ +$if(journal.eissn)$ +$journal.eissn$ +$endif$ + +$journal.publisher-name$ +$if(journal.publisher-loc)$ +$journal.publisher-loc$ +$endif$ + + + +$if(article.publisher-id)$ +$article.publisher-id$ +$endif$ +$if(article.doi)$ +$article.doi$ +$endif$ +$if(article.pmid)$ +$article.pmid$ +$endif$ +$if(article.pmcid)$ +$article.pmcid$ +$endif$ +$if(article.art-access-id)$ +$article.art-access-id$ +$endif$ +$if(article.heading)$ + + +$article.heading$ + +$if(article.categories)$ + +$for(article.categories)$ +$article.categories$ +$endfor$ + +$endif$ + +$endif$ +$if(title)$ + +$title$ + +$endif$ +$if(author)$ + +$for(author)$ + +$if(author.orcid)$ +$author.orcid$ +$endif$ +$if(author.surname)$ + +$author.surname$ +$author.given-names$ + +$else$ +$author$ +$endif$ +$if(author.email)$ +$author.email$ +$endif$ +$if(author.aff-id)$ + +$endif$ +$if(author.cor-id)$ +* +$endif$ + +$endfor$ + +$endif$ +$if(article.author-notes)$ + +$if(article.author-notes.corresp)$ +$for(article.author-notes.corresp)$ +* E-mail: $article.author-notes.corresp.email$ +$endfor$ +$endif$ +$if(article.author-notes.conflict)$ +

$article.author-notes.conflict$

+$endif$ +$if(article.author-notes.con)$ +

$article.author-notes.con$

+$endif$ +
+$endif$ +$if(date)$ + +$if(date.day)$ +$date.day$ +$endif$ +$if(date.month)$ +$date.month$ +$endif$ +$date.year$ + +$endif$ +$if(article.volume)$ +$article.volume$ +$endif$ +$if(article.issue)$ +$article.issue$ +$endif$ +$if(article.fpage)$ +$article.fpage$ +$endif$ +$if(article.lpage)$ +$article.lpage$ +$endif$ +$if(article.elocation-id)$ +$article.elocation-id$ +$endif$ +$if(history)$ + + +$endif$ +$if(copyright)$ + +$if(copyright.statement)$ +$copyright.statement$ +$endif$ +$if(copyright.year)$ +$copyright.year$ +$endif$ +$if(copyright.holder)$ +$copyright.holder$ +$endif$ +$if(copyright.text)$ + +$copyright.text$ + +$endif$ + +$endif$ +$if(abstract)$ + +$abstract$ + +$endif$ +$if(tags)$ + +$for(tags)$ +$tags$ +$endfor$ + +$endif$ +$if(article.funding-statement)$ + +$article.funding-statement$ + +$endif$ +
+$if(notes)$ +$notes$ +$endif$ +
+ +$body$ + + +$if(back)$ +$back$ +$endif$ + +
+ diff --git a/data/templates/default.jats b/data/templates/default.jats deleted file mode 100644 index 20560cdc5..000000000 --- a/data/templates/default.jats +++ /dev/null @@ -1,200 +0,0 @@ - -$if(xml-stylesheet)$ - -$endif$ - -$if(article.type)$ -
-$else$ -
-$endif$ - - -$if(journal.publisher-id)$ -$journal.publisher-id$ -$endif$ -$if(journal.nlm-ta)$ -$journal.nlm-ta$ -$endif$ -$if(journal.pmc)$ -$journal.pmc$ -$endif$ - -$if(journal.title)$ -$journal.title$ -$endif$ -$if(journal.abbrev-title)$ -$journal.abbrev-title$ -$endif$ - -$if(journal.pissn)$ -$journal.pissn$ -$endif$ -$if(journal.eissn)$ -$journal.eissn$ -$endif$ - -$journal.publisher-name$ -$if(journal.publisher-loc)$ -$journal.publisher-loc$ -$endif$ - - - -$if(article.publisher-id)$ -$article.publisher-id$ -$endif$ -$if(article.doi)$ -$article.doi$ -$endif$ -$if(article.pmid)$ -$article.pmid$ -$endif$ -$if(article.pmcid)$ -$article.pmcid$ -$endif$ -$if(article.art-access-id)$ -$article.art-access-id$ -$endif$ -$if(article.heading)$ - - -$article.heading$ - -$if(article.categories)$ - -$for(article.categories)$ -$article.categories$ -$endfor$ - -$endif$ - -$endif$ -$if(title)$ - -$title$ - -$endif$ -$if(author)$ - -$for(author)$ - -$if(author.orcid)$ -$author.orcid$ -$endif$ -$if(author.surname)$ - -$author.surname$ -$author.given-names$ - -$else$ -$author$ -$endif$ -$if(author.email)$ -$author.email$ -$endif$ -$if(author.aff-id)$ - -$endif$ -$if(author.cor-id)$ -* -$endif$ - -$endfor$ - -$endif$ -$if(article.author-notes)$ - -$if(article.author-notes.corresp)$ -$for(article.author-notes.corresp)$ -* E-mail: $article.author-notes.corresp.email$ -$endfor$ -$endif$ -$if(article.author-notes.conflict)$ -

$article.author-notes.conflict$

-$endif$ -$if(article.author-notes.con)$ -

$article.author-notes.con$

-$endif$ -
-$endif$ -$if(date)$ - -$if(date.day)$ -$date.day$ -$endif$ -$if(date.month)$ -$date.month$ -$endif$ -$date.year$ - -$endif$ -$if(article.volume)$ -$article.volume$ -$endif$ -$if(article.issue)$ -$article.issue$ -$endif$ -$if(article.fpage)$ -$article.fpage$ -$endif$ -$if(article.lpage)$ -$article.lpage$ -$endif$ -$if(article.elocation-id)$ -$article.elocation-id$ -$endif$ -$if(history)$ - - -$endif$ -$if(copyright)$ - -$if(copyright.statement)$ -$copyright.statement$ -$endif$ -$if(copyright.year)$ -$copyright.year$ -$endif$ -$if(copyright.holder)$ -$copyright.holder$ -$endif$ -$if(copyright.text)$ - -$copyright.text$ - - -$endif$ -$endif$ -$if(abstract)$ - -$abstract$ - -$endif$ -$if(tags)$ - -$for(tags)$ -$tags$ -$endfor$ - -$endif$ -$if(article.funding-statement)$ - -$article.funding-statement$ - -$endif$ -
-$if(notes)$ -$notes$ -$endif$ -
- -$body$ - - -$if(back)$ -$back$ -$endif$ - -
diff --git a/data/templates/default.jats_archiving b/data/templates/default.jats_archiving new file mode 100644 index 000000000..9b99aab12 --- /dev/null +++ b/data/templates/default.jats_archiving @@ -0,0 +1,7 @@ + +$if(xml-stylesheet)$ + +$endif$ + +${ article.jats_publishing() } diff --git a/data/templates/default.jats_articleauthoring b/data/templates/default.jats_articleauthoring new file mode 100644 index 000000000..f86bb2d3b --- /dev/null +++ b/data/templates/default.jats_articleauthoring @@ -0,0 +1,90 @@ + +$if(xml-stylesheet)$ + +$endif$ + +$if(article.type)$ +
+$else$ +
+$endif$ + + +$if(title)$ + +$title$ + +$endif$ +$if(author)$ + +$for(author)$ + +$if(author.orcid)$ +$author.orcid$ +$endif$ +$if(author.surname)$ + +$author.surname$ +$author.given-names$ + +$else$ +$author$ +$endif$ +$if(author.email)$ +$author.email$ +$endif$ +$if(author.aff-id)$ + +$endif$ +$if(author.cor-id)$ +* +$endif$ + +$endfor$ + +$endif$ +$if(copyright)$ + +$if(copyright.statement)$ +$copyright.statement$ +$endif$ +$if(copyright.year)$ +$copyright.year$ +$endif$ +$if(copyright.holder)$ +$copyright.holder$ +$endif$ +$if(copyright.text)$ + +$copyright.text$ + +$endif$ + +$endif$ + +$abstract$ + +$if(tags)$ + +$for(tags)$ +$tags$ +$endfor$ + +$endif$ +$if(article.funding-statement)$ + +$article.funding-statement$ + +$endif$ + + + +$body$ + + +$if(back)$ +$back$ +$endif$ + +
diff --git a/data/templates/default.jats_publishing b/data/templates/default.jats_publishing new file mode 100644 index 000000000..79e9b00d8 --- /dev/null +++ b/data/templates/default.jats_publishing @@ -0,0 +1,7 @@ + +$if(xml-stylesheet)$ + +$endif$ + +${ article.jats_publishing() } -- cgit v1.2.3