TEI template: improve publicationStmt.

Add support for publisher, address, pubPlace, and date variables.
This commit is contained in:
John MacFarlane 2018-08-16 21:19:03 -07:00
parent 0910e92187
commit 2bc352f305
2 changed files with 17 additions and 3 deletions

View file

@ -9,9 +9,23 @@ $for(author)$
$endfor$
</titleStmt>
<publicationStmt>
$if(publicationStmt)$
<p>$if(publicationStmt)$$publicationStmt$$endif$</p>
$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>

View file

@ -8,7 +8,7 @@
<author>Anonymous</author>
</titleStmt>
<publicationStmt>
<p></p>
<date>July 17, 2006</date>
</publicationStmt>
<sourceDesc>
<p>Produced by pandoc.</p>