diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2021-12-29 15:00:59 +0200 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2021-12-29 15:00:59 +0200 |
commit | b4361712899fd0183fea5513180cb383979616de (patch) | |
tree | 688ab7ee2ab3a8cd32b4e37b506099aec95388f7 /data/templates/article.jats_publishing | |
parent | 726ad97faebe59e024d68d293e663c02bbe423c8 (diff) | |
parent | d960282b105a6469c760b4308a3b81da723b7256 (diff) | |
download | pandoc-b4361712899fd0183fea5513180cb383979616de.tar.gz |
Merge https://github.com/jgm/pandoc
Diffstat (limited to 'data/templates/article.jats_publishing')
-rw-r--r-- | data/templates/article.jats_publishing | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/data/templates/article.jats_publishing b/data/templates/article.jats_publishing index 9bedff6af..47ab8f197 100644 --- a/data/templates/article.jats_publishing +++ b/data/templates/article.jats_publishing @@ -81,12 +81,15 @@ $endif$ $if(title)$ <title-group> <article-title>$title$</article-title> +$if(subtitle)$ +<subtitle>${subtitle}</subtitle> +$endif$ </title-group> $endif$ $if(author)$ <contrib-group> $for(author)$ -<contrib contrib-type="author"$if(author.equal-contrib)$ equal-contrib="true"$endif$> +<contrib contrib-type="author"$if(author.equal-contrib)$ equal-contrib="yes"$endif$> $if(author.orcid)$ <contrib-id contrib-id-type="orcid">$author.orcid$</contrib-id> $endif$ @@ -103,15 +106,25 @@ $endif$ $if(author.email)$ <email>$author.email$</email> $endif$ +$-- if affiliations are listed separately, then create links. Otherwise +$-- include them here. +$if(affiliation)$ $for(author.affiliation)$ <xref ref-type="aff" rid="aff-$author.affiliation$"/> $endfor$ +$else$ +$for(author.affiliation)$ +${ it:affiliations.jats() } +$endfor$ +$endif$ $if(author.cor-id)$ <xref ref-type="corresp" rid="cor-$author.cor-id$"><sup>*</sup></xref> $endif$ </contrib> $endfor$ -${ affiliations.jats() } +$for(affiliation)$ +${ it:affiliations.jats() } +$endfor$ </contrib-group> $endif$ $if(article.author-notes)$ |