diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2020-02-13 05:36:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-12 20:36:02 -0800 |
commit | f5ea5f0aad1d5000b326ce4c45c92fdfb1a4b5d3 (patch) | |
tree | 5f309df515abe99fc97c4bab645387d63a5d57f3 /data/templates/article.jats_publishing | |
parent | e9cb08e74cc234b743dfb720d1e25b6777a8724d (diff) | |
download | pandoc-f5ea5f0aad1d5000b326ce4c45c92fdfb1a4b5d3.tar.gz |
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
Diffstat (limited to 'data/templates/article.jats_publishing')
-rw-r--r-- | data/templates/article.jats_publishing | 195 |
1 files changed, 195 insertions, 0 deletions
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)$ +<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="1.2" article-type="$article.type$"> +$else$ +<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="1.2" article-type="other"> +$endif$ +<front> +<journal-meta> +$if(journal.publisher-id)$ +<journal-id journal-id-type="publisher-id">$journal.publisher-id$</journal-id> +$endif$ +$if(journal.nlm-ta)$ +<journal-id journal-id-type="nlm-ta">$journal.nlm-ta$</journal-id> +$endif$ +$if(journal.pmc)$ +<journal-id journal-id-type="pmc">$journal.pmc$</journal-id> +$endif$ +<journal-title-group> +$if(journal.title)$ +<journal-title>$journal.title$</journal-title> +$endif$ +$if(journal.abbrev-title)$ +<abbrev-journal-title>$journal.abbrev-title$</abbrev-journal-title> +$endif$ +</journal-title-group> +$if(journal.pissn)$ +<issn pub-type="ppub">$journal.pissn$</issn> +$endif$ +$if(journal.eissn)$ +<issn pub-type="epub">$journal.eissn$</issn> +$endif$ +<publisher> +<publisher-name>$journal.publisher-name$</publisher-name> +$if(journal.publisher-loc)$ +<publisher-loc>$journal.publisher-loc$</publisher-loc> +$endif$ +</publisher> +</journal-meta> +<article-meta> +$if(article.publisher-id)$ +<article-id pub-id-type="publisher-id">$article.publisher-id$</article-id> +$endif$ +$if(article.doi)$ +<article-id pub-id-type="doi">$article.doi$</article-id> +$endif$ +$if(article.pmid)$ +<article-id pub-id-type="pmid">$article.pmid$</article-id> +$endif$ +$if(article.pmcid)$ +<article-id pub-id-type="pmcid">$article.pmcid$</article-id> +$endif$ +$if(article.art-access-id)$ +<article-id pub-id-type="art-access-id">$article.art-access-id$</article-id> +$endif$ +$if(article.heading)$ +<article-categories> +<subj-group subj-group-type="heading"> +<subject>$article.heading$</subject> +</subj-group> +$if(article.categories)$ +<subj-group subj-group-type="categories"> +$for(article.categories)$ +<subject>$article.categories$</subject> +$endfor$ +</subj-group> +$endif$ +</article-categories> +$endif$ +$if(title)$ +<title-group> +<article-title>$title$</article-title> +</title-group> +$endif$ +$if(author)$ +<contrib-group> +$for(author)$ +<contrib contrib-type="author"> +$if(author.orcid)$ +<contrib-id contrib-id-type="orcid">$author.orcid$</contrib-id> +$endif$ +$if(author.surname)$ +<name> +<surname>$author.surname$</surname> +<given-names>$author.given-names$</given-names> +</name> +$else$ +<string-name>$author$</string-name> +$endif$ +$if(author.email)$ +<email>$author.email$</email> +$endif$ +$if(author.aff-id)$ +<xref ref-type="aff" rid="aff-$contrib.aff-id$"/> +$endif$ +$if(author.cor-id)$ +<xref ref-type="corresp" rid="cor-$author.cor-id$"><sup>*</sup></xref> +$endif$ +</contrib> +$endfor$ +</contrib-group> +$endif$ +$if(article.author-notes)$ +<author-notes> +$if(article.author-notes.corresp)$ +$for(article.author-notes.corresp)$ +<corresp id="cor-$article.author-notes.corresp.id$">* E-mail: <email>$article.author-notes.corresp.email$</email></corresp> +$endfor$ +$endif$ +$if(article.author-notes.conflict)$ +<fn fn-type="conflict"><p>$article.author-notes.conflict$</p></fn> +$endif$ +$if(article.author-notes.con)$ +<fn fn-type="con"><p>$article.author-notes.con$</p></fn> +$endif$ +</author-notes> +$endif$ +$if(date)$ +<pub-date pub-type="epub"$if(date.iso-8601)$ iso-8601-date="$date.iso-8601$"$endif$> +$if(date.day)$ +<day>$date.day$</day> +$endif$ +$if(date.month)$ +<month>$date.month$</month> +$endif$ +<year>$date.year$</year> +</pub-date> +$endif$ +$if(article.volume)$ +<volume>$article.volume$</volume> +$endif$ +$if(article.issue)$ +<issue>$article.issue$</issue> +$endif$ +$if(article.fpage)$ +<fpage>$article.fpage$</fpage> +$endif$ +$if(article.lpage)$ +<lpage>$article.lpage$</lpage> +$endif$ +$if(article.elocation-id)$ +<elocation-id>$article.elocation-id$</elocation-id> +$endif$ +$if(history)$ +<history> +</history> +$endif$ +$if(copyright)$ +<permissions> +$if(copyright.statement)$ +<copyright-statement>$copyright.statement$</copyright-statement> +$endif$ +$if(copyright.year)$ +<copyright-year>$copyright.year$</copyright-year> +$endif$ +$if(copyright.holder)$ +<copyright-holder>$copyright.holder$</copyright-holder> +$endif$ +$if(copyright.text)$ +<license license-type="$copyright.type$" xlink:href="$copyright.link$"> +<license-p>$copyright.text$</license-p> +</license> +$endif$ +</permissions> +$endif$ +$if(abstract)$ +<abstract> +$abstract$ +</abstract> +$endif$ +$if(tags)$ +<kwd-group kwd-group-type="author"> +$for(tags)$ +<kwd>$tags$</kwd> +$endfor$ +</kwd-group> +$endif$ +$if(article.funding-statement)$ +<funding-group> +<funding-statement>$article.funding-statement$</funding-statement> +</funding-group> +$endif$ +</article-meta> +$if(notes)$ +<notes>$notes$</notes> +$endif$ +</front> +<body> +$body$ +</body> +<back> +$if(back)$ +$back$ +$endif$ +</back> +</article> + |