From 24d8da9aab845228a50a26866e955c4b83612e40 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 16 Sep 2018 22:41:21 -0700 Subject: Updated templates for pandoc 2.3 --- default.epub3 | 2 +- default.html5 | 2 +- default.latex | 7 +++++++ default.opendocument | 4 +--- default.tei | 20 ++++++++++++++++---- 5 files changed, 26 insertions(+), 9 deletions(-) diff --git a/default.epub3 b/default.epub3 index b227149..6428e98 100644 --- a/default.epub3 +++ b/default.epub3 @@ -26,7 +26,7 @@ $for(header-includes)$ $header-includes$ $endfor$ - + $if(titlepage)$
$for(title)$ diff --git a/default.html5 b/default.html5 index 9c15107..c2bf0e0 100644 --- a/default.html5 +++ b/default.html5 @@ -46,7 +46,7 @@ $for(include-before)$ $include-before$ $endfor$ $if(title)$ -
+

$title$

$if(subtitle)$

$subtitle$

diff --git a/default.latex b/default.latex index 4d1eeb5..23e47e6 100644 --- a/default.latex +++ b/default.latex @@ -183,6 +183,7 @@ $endif$ $if(colorlinks)$ colorlinks=true, linkcolor=$if(linkcolor)$$linkcolor$$else$Maroon$endif$, + filecolor=$if(filecolor)$$filecolor$$else$Maroon$endif$, citecolor=$if(citecolor)$$citecolor$$else$Blue$endif$, urlcolor=$if(urlcolor)$$urlcolor$$else$Blue$endif$, $else$ @@ -359,8 +360,14 @@ $include-before$ $endfor$ $if(toc)$ +$if(toc-title)$ +\renewcommand*\contentsname{$toc-title$} +$endif$ $if(beamer)$ \begin{frame} +$if(toc-title)$ +\frametitle{$toc-title$} +$endif$ \tableofcontents[hideallsubsections] \end{frame} $else$ diff --git a/default.opendocument b/default.opendocument index e0bc5c1..cc7d330 100644 --- a/default.opendocument +++ b/default.opendocument @@ -26,9 +26,7 @@ $endfor$ $if(toc)$ - - $toc-title$ - + $toc-title$ diff --git a/default.tei b/default.tei index 3778dcc..7573478 100644 --- a/default.tei +++ b/default.tei @@ -3,17 +3,29 @@ -$if(title)$ $title$ -$endif$ $for(author)$ - $author$ + $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$
-- cgit v1.2.3