summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-03-03 11:28:56 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2019-03-03 11:28:56 -0800
commitc47460fce5cebb17f2ecb1ad195d244c75887d8c (patch)
tree85c2e72750473c9ea3141e93aae0280ed4992f20
parent0be17b21ce1954f16f07a495cb1062145b4d69df (diff)
downloadpandoc-templates-c47460fce5cebb17f2ecb1ad195d244c75887d8c.tar.gz
pandoc-templates-c47460fce5cebb17f2ecb1ad195d244c75887d8c.zip
Updated templates for pandoc 2.7
-rw-r--r--default.asciidoctor41
-rw-r--r--default.epub32
-rw-r--r--default.html52
-rw-r--r--default.latex12
4 files changed, 55 insertions, 2 deletions
diff --git a/default.asciidoctor b/default.asciidoctor
new file mode 100644
index 0000000..2616b05
--- /dev/null
+++ b/default.asciidoctor
@@ -0,0 +1,41 @@
1$if(titleblock)$
2= $title$
3$if(author)$
4$for(author)$$author$$sep$; $endfor$
5$endif$
6$if(date)$
7$date$
8$endif$
9$if(keywords)$
10:keywords: $for(keywords)$$keywords$$sep$, $endfor$
11$endif$
12$if(lang)$
13:lang: $lang$
14$endif$
15$if(toc)$
16:toc:
17$endif$
18$if(math)$
19:stem: latexmath
20$endif$
21
22$endif$
23$if(abstract)$
24[abstract]
25== Abstract
26$abstract$
27
28$endif$
29$for(header-includes)$
30$header-includes$
31
32$endfor$
33$for(include-before)$
34$include-before$
35
36$endfor$
37$body$
38$for(include-after)$
39
40$include-after$
41$endfor$
diff --git a/default.epub3 b/default.epub3
index 0bd4a1a..fa20fb8 100644
--- a/default.epub3
+++ b/default.epub3
@@ -28,7 +28,7 @@ $endfor$
28</head> 28</head>
29<body$if(coverpage)$ id="cover"$endif$$if(body-type)$ epub:type="$body-type$"$endif$> 29<body$if(coverpage)$ id="cover"$endif$$if(body-type)$ epub:type="$body-type$"$endif$>
30$if(titlepage)$ 30$if(titlepage)$
31<section epub:type="titlepage"> 31<section epub:type="titlepage" class="titlepage">
32$for(title)$ 32$for(title)$
33$if(title.type)$ 33$if(title.type)$
34 <h1 class="$title.type$">$title.text$</h1> 34 <h1 class="$title.type$">$title.text$</h1>
diff --git a/default.html5 b/default.html5
index 1d7bef4..9816fcf 100644
--- a/default.html5
+++ b/default.html5
@@ -60,7 +60,7 @@ $endif$
60</header> 60</header>
61$endif$ 61$endif$
62$if(toc)$ 62$if(toc)$
63<nav id="$idprefix$TOC"> 63<nav id="$idprefix$TOC" role="doc-toc">
64$table-of-contents$ 64$table-of-contents$
65</nav> 65</nav>
66$endif$ 66$endif$
diff --git a/default.latex b/default.latex
index 8a37e7e..aacb48b 100644
--- a/default.latex
+++ b/default.latex
@@ -205,6 +205,9 @@ $endif$
205$if(author-meta)$ 205$if(author-meta)$
206 pdfauthor={$author-meta$}, 206 pdfauthor={$author-meta$},
207$endif$ 207$endif$
208$if(subject)$
209 pdfsubject={$subject$},
210$endif$
208$if(keywords)$ 211$if(keywords)$
209 pdfkeywords={$for(keywords)$$keywords$$sep$, $endfor$}, 212 pdfkeywords={$for(keywords)$$keywords$$sep$, $endfor$},
210$endif$ 213$endif$
@@ -381,6 +384,9 @@ $endif$
381 384
382\begin{document} 385\begin{document}
383$if(title)$ 386$if(title)$
387$if(book-class)$
388\frontmatter
389$endif$
384$if(beamer)$ 390$if(beamer)$
385\frame{\titlepage} 391\frame{\titlepage}
386$else$ 392$else$
@@ -424,8 +430,14 @@ $endif$
424$if(lof)$ 430$if(lof)$
425\listoffigures 431\listoffigures
426$endif$ 432$endif$
433$if(book-class)$
434\mainmatter
435$endif$
427$body$ 436$body$
428 437
438$if(book-class)$
439\backmatter
440$endif$
429$if(natbib)$ 441$if(natbib)$
430$if(bibliography)$ 442$if(bibliography)$
431$if(biblio-title)$ 443$if(biblio-title)$