JATS writer: replace attribute "pub-type" with "publication-format".

The former attribute is deprecated.
This commit is contained in:
Albert Krewinkel 2021-02-15 13:15:14 +01:00
parent 8621ed600a
commit 2c99e0e358
No known key found for this signature in database
GPG key ID: 388DC0B21F631124
4 changed files with 12 additions and 9 deletions

View file

@ -30,10 +30,10 @@ $if(journal.abbrev-title)$
$endif$
</journal-title-group>
$if(journal.pissn)$
<issn pub-type="ppub">$journal.pissn$</issn>
<issn publication-format="print">$journal.pissn$</issn>
$endif$
$if(journal.eissn)$
<issn pub-type="epub">$journal.eissn$</issn>
<issn publication-format="electronic">$journal.eissn$</issn>
$endif$
$-- At least one issn element is required; use empty issn as fallback
$if(journal.pissn)$
@ -130,7 +130,7 @@ $endif$
</author-notes>
$endif$
$if(date)$
<pub-date pub-type="epub"$if(date.iso-8601)$ iso-8601-date="$date.iso-8601$"$endif$>
<pub-date publication-format="electronic"$if(date.iso-8601)$ iso-8601-date="$date.iso-8601$"$endif$>
$if(date.day)$
<day>$date.day$</day>
$endif$

View file

@ -173,7 +173,8 @@ Metadata Values
The publication date is recorded in the document via the
[`<pub-date>`][elem:pub-date] element and its sub-elements. The
[`pub-type`][attr:pub-type] attribute is always set to `epub`.
[`publication-format`][attr:publication-format] attribute is
always set to `electronic`.
`iso-8601`
: ISO-8601 representation of the publication date. Used as the
@ -300,12 +301,14 @@ Metadata Values
`pissn`
: ISSN identifier of the publication's print version. Used as
content of the [`<issn>`][elem:issn] element with the
[`pub-type`][attr:pub-type] attribute set to `ppub`.
[`publication-format`][attr:publication-format] attribute
set to `print`.
`eissn`
: ISSN identifier of the publication's electronic version.
Used as content of the [`<issn>`][elem:issn] element with
the [`pub-type`][attr:pub-type] attribute set to `epub`.
the [`publication-format`][attr:publication-format]
attribute set to `electronic`.
`publisher-name`
: name of the publishing entity (person, company, or other).
@ -352,7 +355,7 @@ Required metadata values:
[attr:kwd-group-type]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/kwd-group-type.html
[attr:license-type]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/license-type.html
[attr:pub-id-type]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/pub-id-type.html
[attr:pub-type]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/pub-type.html
[attr:publication-format]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/publication-format.html
[attr:ref-type]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/ref-type.html
[attr:rid]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/rid.html
[attr:subj-group-type]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/subj-group-type.html

View file

@ -24,7 +24,7 @@
<string-name>Anonymous</string-name>
</contrib>
</contrib-group>
<pub-date pub-type="epub" iso-8601-date="2006-07-17">
<pub-date publication-format="electronic" iso-8601-date="2006-07-17">
<day>17</day>
<month>7</month>
<year>2006</year>

View file

@ -24,7 +24,7 @@
<string-name>Anonymous</string-name>
</contrib>
</contrib-group>
<pub-date pub-type="epub" iso-8601-date="2006-07-17">
<pub-date publication-format="electronic" iso-8601-date="2006-07-17">
<day>17</day>
<month>7</month>
<year>2006</year>