diff options
author | John MacFarlane <jgm@berkeley.edu> | 2021-03-08 11:59:51 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2021-03-08 11:59:51 -0800 |
commit | bea0059f80541a1946df27c54d359c7b78696c5c (patch) | |
tree | 8cebf1f4e77a78a751432efa9538e192832dac05 /article.jats_publishing | |
parent | 81a523a1949de42720cb702b6e577411d76f36e6 (diff) | |
download | pandoc-templates-bea0059f80541a1946df27c54d359c7b78696c5c.tar.gz pandoc-templates-bea0059f80541a1946df27c54d359c7b78696c5c.zip |
Updated templates for pandoc 2.12
Diffstat (limited to 'article.jats_publishing')
-rw-r--r-- | article.jats_publishing | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/article.jats_publishing b/article.jats_publishing index 4bdb3f2..47fa4ac 100644 --- a/article.jats_publishing +++ b/article.jats_publishing | |||
@@ -30,10 +30,10 @@ $if(journal.abbrev-title)$ | |||
30 | $endif$ | 30 | $endif$ |
31 | </journal-title-group> | 31 | </journal-title-group> |
32 | $if(journal.pissn)$ | 32 | $if(journal.pissn)$ |
33 | <issn pub-type="ppub">$journal.pissn$</issn> | 33 | <issn publication-format="print">$journal.pissn$</issn> |
34 | $endif$ | 34 | $endif$ |
35 | $if(journal.eissn)$ | 35 | $if(journal.eissn)$ |
36 | <issn pub-type="epub">$journal.eissn$</issn> | 36 | <issn publication-format="electronic">$journal.eissn$</issn> |
37 | $endif$ | 37 | $endif$ |
38 | $-- At least one issn element is required; use empty issn as fallback | 38 | $-- At least one issn element is required; use empty issn as fallback |
39 | $if(journal.pissn)$ | 39 | $if(journal.pissn)$ |
@@ -95,6 +95,8 @@ $if(author.surname)$ | |||
95 | <surname>$author.surname$</surname> | 95 | <surname>$author.surname$</surname> |
96 | <given-names>$author.given-names$</given-names> | 96 | <given-names>$author.given-names$</given-names> |
97 | </name> | 97 | </name> |
98 | $elseif(author.name)$ | ||
99 | <string-name>$author.name$</string-name> | ||
98 | $else$ | 100 | $else$ |
99 | <string-name>$author$</string-name> | 101 | <string-name>$author$</string-name> |
100 | $endif$ | 102 | $endif$ |
@@ -128,7 +130,7 @@ $endif$ | |||
128 | </author-notes> | 130 | </author-notes> |
129 | $endif$ | 131 | $endif$ |
130 | $if(date)$ | 132 | $if(date)$ |
131 | <pub-date pub-type="epub"$if(date.iso-8601)$ iso-8601-date="$date.iso-8601$"$endif$> | 133 | <pub-date date-type="$if(date.type)$$date.type$$else$pub$endif$" publication-format="electronic"$if(date.iso-8601)$ iso-8601-date="$date.iso-8601$"$endif$> |
132 | $if(date.day)$ | 134 | $if(date.day)$ |
133 | <day>$date.day$</day> | 135 | <day>$date.day$</day> |
134 | $endif$ | 136 | $endif$ |