aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2021-02-15 13:15:14 +0100
committerAlbert Krewinkel <albert@zeitkraut.de>2021-02-15 13:15:14 +0100
commitb5b576184c3c1668aad0c904e186136b81a0dd54 (patch)
treef8ad7fda812b201cfaf24fdcab76e157a138a1fc /data
parent2c99e0e3588d5645e901346572e1b04e8fb4fa3e (diff)
downloadpandoc-b5b576184c3c1668aad0c904e186136b81a0dd54.tar.gz
JATS writer: add date-type to pub-date elements
Diffstat (limited to 'data')
-rw-r--r--data/templates/article.jats_publishing2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/article.jats_publishing b/data/templates/article.jats_publishing
index 3a3a8f8cf..47fa4ac62 100644
--- a/data/templates/article.jats_publishing
+++ b/data/templates/article.jats_publishing
@@ -130,7 +130,7 @@ $endif$
</author-notes>
$endif$
$if(date)$
-<pub-date publication-format="electronic"$if(date.iso-8601)$ iso-8601-date="$date.iso-8601$"$endif$>
+<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$>
$if(date.day)$
<day>$date.day$</day>
$endif$