-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplate-epub.latex
More file actions
86 lines (68 loc) · 1.37 KB
/
template-epub.latex
File metadata and controls
86 lines (68 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops"$if(lang)$ xml:lang="$lang$"$endif$>
<head>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<title>$title$</title>
<style>
$styles.html()$
$if(highlighting-css)$
$highlighting-css$
$endif$
</style>
$for(css)$
<link rel="stylesheet" href="$css$" />
$endfor$
$for(header-includes)$
$header-includes$
$endfor$
</head>
<body>
$for(include-before)$
$include-before$
$endfor$
$if(title)$
<section epub:type="titlepage" class="titlepage">
$for(title)$
<h1 class="title">$title$</h1>
$endfor$
$if(subtitle)$
<p class="subtitle">$subtitle$</p>
$endif$
$if(author)$
<p class="author">By $for(author)$$author$$sep$, $endfor$</p>
$endif$
$if(build)$
<p class="build-number">build $build$</p>
$endif$
$if(publisher)$
<p class="publisher">$publisher$</p>
$endif$
$if(rights)$
<p class="rights">$rights$</p>
$endif$
$if(date)$
<p class="date">$date$</p>
$endif$
</section>
$endif$
$if(abstract)$
<section class="abstract">
$if(abstract-title)$
<h3 class="abstract-title">$abstract-title$</h3>
$endif$
<p>$abstract$</p>
</section>
$endif$
$if(dedication)$
<section id="dedication">
<p>$dedication$</p>
</section>
$endif$
$body$
$for(include-after)$
$include-after$
$endfor$
</body>
</html>