diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2021-02-15 13:15:14 +0100 |
---|---|---|
committer | Albert Krewinkel <albert@zeitkraut.de> | 2021-02-15 13:15:14 +0100 |
commit | b5b576184c3c1668aad0c904e186136b81a0dd54 (patch) | |
tree | f8ad7fda812b201cfaf24fdcab76e157a138a1fc /data | |
parent | 2c99e0e3588d5645e901346572e1b04e8fb4fa3e (diff) | |
download | pandoc-b5b576184c3c1668aad0c904e186136b81a0dd54.tar.gz |
JATS writer: add date-type to pub-date elements
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/article.jats_publishing | 2 |
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$ |