git.iko.soy/typeable/pandoc
on master help sign in
JATS writer: replace attribute "pub-type" with "publication-format".
2c99e0eAlbert Krewinkel
data/templates/article.jats_publishing+3−3
@@ -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)$
@@ -130,7 +130,7 @@ $endif$
130</author-notes>
130</author-notes>
131$endif$
131$endif$
132$if(date)$
132$if(date)$
133−<pub-date pub-type="epub"$if(date.iso-8601)$ iso-8601-date="$date.iso-8601$"$endif$>
133+<pub-date publication-format="electronic"$if(date.iso-8601)$ iso-8601-date="$date.iso-8601$"$endif$>
134$if(date.day)$
134$if(date.day)$
135<day>$date.day$</day>
135<day>$date.day$</day>
136$endif$
136$endif$
doc/jats.md+7−4
@@ -173,7 +173,8 @@ Metadata Values
173
173
174 The publication date is recorded in the document via the
174 The publication date is recorded in the document via the
175 [`<pub-date>`][elem:pub-date] element and its sub-elements. The
175 [`<pub-date>`][elem:pub-date] element and its sub-elements. The
176− [`pub-type`][attr:pub-type] attribute is always set to `epub`.
176+ [`publication-format`][attr:publication-format] attribute is
177+ always set to `electronic`.
177
178
178 `iso-8601`
179 `iso-8601`
179 : ISO-8601 representation of the publication date. Used as the
180 : ISO-8601 representation of the publication date. Used as the
@@ -300,12 +301,14 @@ Metadata Values
300 `pissn`
301 `pissn`
301 : ISSN identifier of the publication's print version. Used as
302 : ISSN identifier of the publication's print version. Used as
302 content of the [`<issn>`][elem:issn] element with the
303 content of the [`<issn>`][elem:issn] element with the
303− [`pub-type`][attr:pub-type] attribute set to `ppub`.
304+ [`publication-format`][attr:publication-format] attribute
305+ set to `print`.
304
306
305 `eissn`
307 `eissn`
306 : ISSN identifier of the publication's electronic version.
308 : ISSN identifier of the publication's electronic version.
307 Used as content of the [`<issn>`][elem:issn] element with
309 Used as content of the [`<issn>`][elem:issn] element with
310+ the [`publication-format`][attr:publication-format]
308− the [`pub-type`][attr:pub-type] attribute set to `epub`.
311+ attribute set to `electronic`.
309
312
310 `publisher-name`
313 `publisher-name`
311 : name of the publishing entity (person, company, or other).
314 : name of the publishing entity (person, company, or other).
@@ -352,7 +355,7 @@ Required metadata values:
352[attr:kwd-group-type]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/kwd-group-type.html
355[attr:kwd-group-type]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/kwd-group-type.html
353[attr:license-type]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/license-type.html
356[attr:license-type]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/license-type.html
354[attr:pub-id-type]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/pub-id-type.html
357[attr:pub-id-type]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/pub-id-type.html
355−[attr:pub-type]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/pub-type.html
358+[attr:publication-format]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/publication-format.html
356[attr:ref-type]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/ref-type.html
359[attr:ref-type]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/ref-type.html
357[attr:rid]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/rid.html
360[attr:rid]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/rid.html
358[attr:subj-group-type]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/subj-group-type.html
361[attr:subj-group-type]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/subj-group-type.html
test/writer.jats_archiving+1−1
@@ -24,7 +24,7 @@
24<string-name>Anonymous</string-name>
24<string-name>Anonymous</string-name>
25</contrib>
25</contrib>
26</contrib-group>
26</contrib-group>
27−<pub-date pub-type="epub" iso-8601-date="2006-07-17">
27+<pub-date publication-format="electronic" iso-8601-date="2006-07-17">
28<day>17</day>
28<day>17</day>
29<month>7</month>
29<month>7</month>
30<year>2006</year>
30<year>2006</year>
test/writer.jats_publishing+1−1
@@ -24,7 +24,7 @@
24<string-name>Anonymous</string-name>
24<string-name>Anonymous</string-name>
25</contrib>
25</contrib>
26</contrib-group>
26</contrib-group>
27−<pub-date pub-type="epub" iso-8601-date="2006-07-17">
27+<pub-date publication-format="electronic" iso-8601-date="2006-07-17">
28<day>17</day>
28<day>17</day>
29<month>7</month>
29<month>7</month>
30<year>2006</year>
30<year>2006</year>