Commit 8785219f authored by Antoine Fauchié's avatar Antoine Fauchié
Browse files

edit: buggy tei template

parent 124be9d3
Pipeline #11609 passed with stages
in 15 seconds
......@@ -8,6 +8,7 @@ pages:
- pandoc -f markdown -t html --template=template-home.html source.md --citeproc -o public/index.html
- pandoc -f markdown -t html --template=template-poster.html source.md --citeproc -o public/poster.html
- pandoc -f markdown -t plain source.md --citeproc -o public/plain.txt
- pandoc -f markdown -t tei --template=template.tei --citeproc -o public/poster.tei source.md
- cp index.css public/index.css
- cp poster.css public/poster.css
- cp -r images/* public/images/.
......
......@@ -5,6 +5,7 @@ color: "ffead0-3786b3-265d8a-f26419-000000"
source: "ssp.digitaltextualities.ca"
credits: "Antoine Fauchié, Margot Mellet, Marcello Vitali-Rosati. Canada Research Chair on Digital Textualites (CC-BY)."
bibliography: "bibliography.bib"
lang: en
csl: "apa.csl"
nocite: |
@*
......@@ -15,7 +16,7 @@ formats:
- name: poster
address: poster.html
- name: XML
address: index.xml
address: poster.xml
- name: txt
address: plain.txt
contact: "Antoine Fauchié, antoine.fauchie@umontreal.ca"
......
<?xml version="1.0" encoding="utf-8"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0"$if(lang)$ xml:lang="$lang$"$endif$>
<teiHeader>
<fileDesc>
<titleStmt>
<title>$title$</title>
$for(author)$
<author>$author$</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>
$if(sourceDesc)$
$sourceDesc$
$else$
<p>Produced by pandoc.</p>
$endif$
</sourceDesc>
</fileDesc>
</teiHeader>
<text>
$for(include-before)$
$include-before$
$endfor$
<body>
$body$
</body>
$for(include-after)$
$include-after$
$endfor$
</text>
</TEI>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment