aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2021-12-22 22:51:53 +0100
committerAlbert Krewinkel <albert@zeitkraut.de>2021-12-23 09:11:54 +0100
commit7954070b0141700e17b6bc986d134fed90de7a02 (patch)
tree9d78c3dd65337810e23eeaa717f34f935db74d7f
parent43a8931abf7f89b47bb949cfc119156fae41f020 (diff)
downloadpandoc-7954070b0141700e17b6bc986d134fed90de7a02.tar.gz
JATS templates: add support for article subtitles
-rw-r--r--data/templates/article.jats_publishing3
-rw-r--r--data/templates/default.jats_articleauthoring3
-rw-r--r--doc/jats.md11
3 files changed, 17 insertions, 0 deletions
diff --git a/data/templates/article.jats_publishing b/data/templates/article.jats_publishing
index 11902cae8..bb69404c2 100644
--- a/data/templates/article.jats_publishing
+++ b/data/templates/article.jats_publishing
@@ -81,6 +81,9 @@ $endif$
$if(title)$
<title-group>
<article-title>$title$</article-title>
+$if(subtitle)$
+<subtitle>${subtitle}</subtitle>
+$endif$
</title-group>
$endif$
$if(author)$
diff --git a/data/templates/default.jats_articleauthoring b/data/templates/default.jats_articleauthoring
index 66a4157d7..8cf89fa68 100644
--- a/data/templates/default.jats_articleauthoring
+++ b/data/templates/default.jats_articleauthoring
@@ -14,6 +14,9 @@ $endif$
$if(title)$
<title-group>
<article-title>$title$</article-title>
+$if(subtitle)$
+<subtitle>${subtitle}</subtitle>
+$endif$
</title-group>
$endif$
$if(author)$
diff --git a/doc/jats.md b/doc/jats.md
index bebb2536a..7eca75c8e 100644
--- a/doc/jats.md
+++ b/doc/jats.md
@@ -336,12 +336,21 @@ Metadata Values
: Additional notes concerning the whole article. Added to the
article's frontmatter via the [`<notes>`][elem:notes] element.
+`subtitle`
+: Subordinate part of the document title. Added to the
+ document's front matter as a
+ [`<subtitle>`][elem:article-title] element.
+
`tags`
: list of keywords. Items are used as contents of the
[`<kwd>`][elem:kwd] element; the elements are grouped in a
[`<kwd-group>`][elem:kwd-group] with the
[`kwd-group-type`][attr:kwd-group-type] value `author`.
+`title`
+: The article title. Added to the document's front matter via the
+ [`<article-title>`][elem:article-title] element.
+
Required Metadata
-----------------
@@ -378,6 +387,7 @@ Required metadata values:
[elem:abstract]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/element/abstract.html
[elem:article-id]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/element/article-id.html
[elem:article-meta]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/element/article-meta.html
+[elem:article-title]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/element/article-title.html
[elem:copyright-holder]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/element/copyright-holder.html
[elem:copyright-statement]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/element/copyright-statement.html
[elem:copyright-year]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/element/copyright-year.html
@@ -400,6 +410,7 @@ Required metadata values:
[elem:string-name]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/element/string-name.html
[elem:subj-group]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/element/subj-group.html
[elem:subject]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/element/subject.html
+[elem:subtitle]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/element/subtitle.html
[elem:surname]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/element/surname.html
[elem:xref]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/element/xref.html