From 2bc352f30523cceda9c6f25a6ec0f0169254824d Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 16 Aug 2018 21:19:03 -0700 Subject: [PATCH] TEI template: improve publicationStmt. Add support for publisher, address, pubPlace, and date variables. --- data/templates/default.tei | 16 +++++++++++++++- test/writer.tei | 4 ++-- 2 files changed, 17 insertions(+), 3 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,9 +9,23 @@ $for(author)$ $endfor$ +$if(publicationStmt)$

$if(publicationStmt)$$publicationStmt$$endif$

- $if(license)$ +$endif$ +$if(license)$ $license$ +$endif$ +$if(publisher)$ + $publisher$ +$endif$ +$if(pubPlace)$ + $pubPlace$ +$endif$ +$if(address)$ +
$address$
+$endif$ +$if(date)$ + $date$ $endif$
diff --git a/test/writer.tei b/test/writer.tei index 779aa337b..587a6fcca 100644 --- a/test/writer.tei +++ b/test/writer.tei @@ -8,8 +8,8 @@ Anonymous -

-
+ July 17, 2006 +

Produced by pandoc.