diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-06-11 22:50:06 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-06-11 22:50:06 -0700 |
commit | db59a5e77b0a5629f0801eb82103814842f2e2ed (patch) | |
tree | b65b75813f49d3642cb229f60ff549db05a529a1 /default.jats | |
parent | 64a929d7eec7f2c0b741433b30d6b904354a4e74 (diff) | |
download | pandoc-templates-db59a5e77b0a5629f0801eb82103814842f2e2ed.tar.gz pandoc-templates-db59a5e77b0a5629f0801eb82103814842f2e2ed.zip |
Updated templates for pandoc 2.7.3
Diffstat (limited to 'default.jats')
-rw-r--r-- | default.jats | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/default.jats b/default.jats index 228a063..5fd3590 100644 --- a/default.jats +++ b/default.jats | |||
@@ -83,14 +83,14 @@ $for(author)$ | |||
83 | $if(author.orcid)$ | 83 | $if(author.orcid)$ |
84 | <contrib-id contrib-id-type="orcid">$author.orcid$</contrib-id> | 84 | <contrib-id contrib-id-type="orcid">$author.orcid$</contrib-id> |
85 | $endif$ | 85 | $endif$ |
86 | <name> | ||
87 | $if(author.surname)$ | 86 | $if(author.surname)$ |
87 | <name> | ||
88 | <surname>$author.surname$</surname> | 88 | <surname>$author.surname$</surname> |
89 | <given-names>$author.given-names$</given-names> | 89 | <given-names>$author.given-names$</given-names> |
90 | </name> | ||
90 | $else$ | 91 | $else$ |
91 | <string-name>$author$</string-name> | 92 | <string-name>$author$</string-name> |
92 | $endif$ | 93 | $endif$ |
93 | </name> | ||
94 | $if(author.email)$ | 94 | $if(author.email)$ |
95 | <email>$author.email$</email> | 95 | <email>$author.email$</email> |
96 | $endif$ | 96 | $endif$ |
@@ -120,22 +120,14 @@ $endif$ | |||
120 | </author-notes> | 120 | </author-notes> |
121 | $endif$ | 121 | $endif$ |
122 | $if(date)$ | 122 | $if(date)$ |
123 | $if(date.iso-8601)$ | 123 | <pub-date pub-type="epub"$if(date.iso-8601)$ iso-8601-date="$date.iso-8601$"$endif$> |
124 | <pub-date pub-type="epub" iso-8601-date="$date.iso-8601$"> | ||
125 | $else$ | ||
126 | <pub-date pub-type="epub"> | ||
127 | $endif$ | ||
128 | $if(date.day)$ | 124 | $if(date.day)$ |
129 | <day>$pub-date.day$</day> | 125 | <day>$date.day$</day> |
130 | $endif$ | 126 | $endif$ |
131 | $if(date.month)$ | 127 | $if(date.month)$ |
132 | <month>$pub-date.month$</month> | 128 | <month>$date.month$</month> |
133 | $endif$ | ||
134 | $if(date.year)$ | ||
135 | <year>$pub-date.year$</year> | ||
136 | $else$ | ||
137 | <string-date>$date$</string-date> | ||
138 | $endif$ | 129 | $endif$ |
130 | <year>$date.year$</year> | ||
139 | </pub-date> | 131 | </pub-date> |
140 | $endif$ | 132 | $endif$ |
141 | $if(article.volume)$ | 133 | $if(article.volume)$ |