git.iko.soy/typeable/pandoc
on 2.13 help sign in
typeable/pandoc/data/templates/article.jats_publishing
211 lines 5.3 kB history raw
1$if(article.type)$
2<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$">
3$else$
4<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">
5$endif$
6<front>
7<journal-meta>
8$if(journal.publisher-id)$
9<journal-id journal-id-type="publisher-id">$journal.publisher-id$</journal-id>
10$endif$
11$if(journal.nlm-ta)$
12<journal-id journal-id-type="nlm-ta">$journal.nlm-ta$</journal-id>
13$endif$
14$if(journal.pmc)$
15<journal-id journal-id-type="pmc">$journal.pmc$</journal-id>
16$endif$
17$-- Fallback: an empty journal-id in case none is available.
18$if(journal.publisher-id)$
19$elseif(journal.nlm-ta)$
20$elseif(journal.pmc)$
21$else$
22<journal-id></journal-id>
23$endif$
24<journal-title-group>
25$if(journal.title)$
26<journal-title>$journal.title$</journal-title>
27$endif$
28$if(journal.abbrev-title)$
29<abbrev-journal-title>$journal.abbrev-title$</abbrev-journal-title>
30$endif$
31</journal-title-group>
32$if(journal.pissn)$
33<issn publication-format="print">$journal.pissn$</issn>
34$endif$
35$if(journal.eissn)$
36<issn publication-format="electronic">$journal.eissn$</issn>
37$endif$
38$-- At least one issn element is required; use empty issn as fallback
39$if(journal.pissn)$
40$elseif(journal.eissn)$
41$else$
42<issn></issn>
43$endif$
44<publisher>
45<publisher-name>$journal.publisher-name$</publisher-name>
46$if(journal.publisher-loc)$
47<publisher-loc>$journal.publisher-loc$</publisher-loc>
48$endif$
49</publisher>
50</journal-meta>
51<article-meta>
52$if(article.publisher-id)$
53<article-id pub-id-type="publisher-id">$article.publisher-id$</article-id>
54$endif$
55$if(article.doi)$
56<article-id pub-id-type="doi">$article.doi$</article-id>
57$endif$
58$if(article.pmid)$
59<article-id pub-id-type="pmid">$article.pmid$</article-id>
60$endif$
61$if(article.pmcid)$
62<article-id pub-id-type="pmcid">$article.pmcid$</article-id>
63$endif$
64$if(article.art-access-id)$
65<article-id pub-id-type="art-access-id">$article.art-access-id$</article-id>
66$endif$
67$if(article.heading)$
68<article-categories>
69<subj-group subj-group-type="heading">
70<subject>$article.heading$</subject>
71</subj-group>
72$if(article.categories)$
73<subj-group subj-group-type="categories">
74$for(article.categories)$
75<subject>$article.categories$</subject>
76$endfor$
77</subj-group>
78$endif$
79</article-categories>
80$endif$
81$if(title)$
82<title-group>
83<article-title>$title$</article-title>
84</title-group>
85$endif$
86$if(author)$
87<contrib-group>
88$for(author)$
89<contrib contrib-type="author"$if(author.equal-contrib)$ equal-contrib="true"$endif$>
90$if(author.orcid)$
91<contrib-id contrib-id-type="orcid">$author.orcid$</contrib-id>
92$endif$
93$if(author.surname)$
94<name>
95<surname>$author.surname$</surname>
96<given-names>$author.given-names$</given-names>
97</name>
98$elseif(author.name)$
99<string-name>$author.name$</string-name>
100$else$
101<string-name>$author$</string-name>
102$endif$
103$if(author.email)$
104<email>$author.email$</email>
105$endif$
106$for(author.affiliation)$
107<xref ref-type="aff" rid="aff-$author.affiliation$"/>
108$endfor$
109$if(author.cor-id)$
110<xref ref-type="corresp" rid="cor-$author.cor-id$"><sup>*</sup></xref>
111$endif$
112</contrib>
113$endfor$
114${ affiliations.jats() }
115</contrib-group>
116$endif$
117$if(article.author-notes)$
118<author-notes>
119$if(article.author-notes.corresp)$
120$for(article.author-notes.corresp)$
121<corresp id="cor-$article.author-notes.corresp.id$">* E-mail: <email>$article.author-notes.corresp.email$</email></corresp>
122$endfor$
123$endif$
124$if(article.author-notes.conflict)$
125<fn fn-type="conflict"><p>$article.author-notes.conflict$</p></fn>
126$endif$
127$if(article.author-notes.con)$
128<fn fn-type="con"><p>$article.author-notes.con$</p></fn>
129$endif$
130</author-notes>
131$endif$
132$if(date)$
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$>
134$if(date.day)$
135<day>$date.day$</day>
136$endif$
137$if(date.month)$
138<month>$date.month$</month>
139$endif$
140<year>$date.year$</year>
141</pub-date>
142$endif$
143$if(article.volume)$
144<volume>$article.volume$</volume>
145$endif$
146$if(article.issue)$
147<issue>$article.issue$</issue>
148$endif$
149$if(article.fpage)$
150<fpage>$article.fpage$</fpage>
151$endif$
152$if(article.lpage)$
153<lpage>$article.lpage$</lpage>
154$endif$
155$if(article.elocation-id)$
156<elocation-id>$article.elocation-id$</elocation-id>
157$endif$
158$if(history)$
159<history>
160</history>
161$endif$
162$if(copyright)$
163<permissions>
164$if(copyright.statement)$
165<copyright-statement>$copyright.statement$</copyright-statement>
166$endif$
167$if(copyright.year)$
168<copyright-year>$copyright.year$</copyright-year>
169$endif$
170$if(copyright.holder)$
171<copyright-holder>$copyright.holder$</copyright-holder>
172$endif$
173$if(copyright.text)$
174<license license-type="$copyright.type$" xlink:href="$copyright.link$">
175<license-p>$copyright.text$</license-p>
176</license>
177$endif$
178</permissions>
179$endif$
180$if(abstract)$
181<abstract>
182$abstract$
183</abstract>
184$endif$
185$if(tags)$
186<kwd-group kwd-group-type="author">
187$for(tags)$
188<kwd>$tags$</kwd>
189$endfor$
190</kwd-group>
191$endif$
192$if(article.funding-statement)$
193<funding-group>
194<funding-statement>$article.funding-statement$</funding-statement>
195</funding-group>
196$endif$
197</article-meta>
198$if(notes)$
199<notes>$notes$</notes>
200$endif$
201</front>
202<body>
203$body$
204</body>
205<back>
206$if(back)$
207$back$
208$endif$
209</back>
210</article>