aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-08-16 21:19:03 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-08-16 21:19:03 -0700
commit2bc352f30523cceda9c6f25a6ec0f0169254824d (patch)
tree3d6d35accb5e0bee29df546bd94e4df520b39de6 /data
parent0910e9218728c85feb562745ed5eb44d586e824d (diff)
downloadpandoc-2bc352f30523cceda9c6f25a6ec0f0169254824d.tar.gz
TEI template: improve publicationStmt.
Add support for publisher, address, pubPlace, and date variables.
Diffstat (limited to 'data')
-rw-r--r--data/templates/default.tei16
1 files changed, 15 insertions, 1 deletions
diff --git a/data/templates/default.tei b/data/templates/default.tei
index 824c9f0e7..757347886 100644
--- a/data/templates/default.tei
+++ b/data/templates/default.tei
@@ -9,10 +9,24 @@ $for(author)$
$endfor$
</titleStmt>
<publicationStmt>
+$if(publicationStmt)$
<p>$if(publicationStmt)$$publicationStmt$$endif$</p>
- $if(license)$
+$endif$
+$if(license)$
<availability><licence>$license$</licence></availability>
$endif$
+$if(publisher)$
+ <publisher>$publisher$</publisher>
+$endif$
+$if(pubPlace)$
+ <pubPlace>$pubPlace$</pubPlace>
+$endif$
+$if(address)$
+ <address>$address$</address>
+$endif$
+$if(date)$
+ <date>$date$</date>
+$endif$
</publicationStmt>
<sourceDesc>
$if(sourceDesc)$