From c47460fce5cebb17f2ecb1ad195d244c75887d8c Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 3 Mar 2019 11:28:56 -0800 Subject: Updated templates for pandoc 2.7 --- default.asciidoctor | 41 +++++++++++++++++++++++++++++++++++++++++ default.epub3 | 2 +- default.html5 | 2 +- default.latex | 12 ++++++++++++ 4 files changed, 55 insertions(+), 2 deletions(-) create mode 100644 default.asciidoctor diff --git a/default.asciidoctor b/default.asciidoctor new file mode 100644 index 0000000..2616b05 --- /dev/null +++ b/default.asciidoctor @@ -0,0 +1,41 @@ +$if(titleblock)$ += $title$ +$if(author)$ +$for(author)$$author$$sep$; $endfor$ +$endif$ +$if(date)$ +$date$ +$endif$ +$if(keywords)$ +:keywords: $for(keywords)$$keywords$$sep$, $endfor$ +$endif$ +$if(lang)$ +:lang: $lang$ +$endif$ +$if(toc)$ +:toc: +$endif$ +$if(math)$ +:stem: latexmath +$endif$ + +$endif$ +$if(abstract)$ +[abstract] +== Abstract +$abstract$ + +$endif$ +$for(header-includes)$ +$header-includes$ + +$endfor$ +$for(include-before)$ +$include-before$ + +$endfor$ +$body$ +$for(include-after)$ + +$include-after$ +$endfor$ diff --git a/default.epub3 b/default.epub3 index 0bd4a1a..fa20fb8 100644 --- a/default.epub3 +++ b/default.epub3 @@ -28,7 +28,7 @@ $endfor$ $if(titlepage)$ -
+
$for(title)$ $if(title.type)$

$title.text$

diff --git a/default.html5 b/default.html5 index 1d7bef4..9816fcf 100644 --- a/default.html5 +++ b/default.html5 @@ -60,7 +60,7 @@ $endif$ $endif$ $if(toc)$ -