-
Notifications
You must be signed in to change notification settings - Fork 0
/
two-swords.typ
124 lines (86 loc) · 2.65 KB
/
two-swords.typ
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
#import "/lib.typ": *
#import "/cover.typ" as cover
#import "/chapters/introduction.typ" as chapter-introduction
#import "/chapters/backgrounds.typ" as chapter-backgrounds
#import "/chapters/marketplace.typ" as chapter-marketplace
#import "/chapters/procedures.typ" as chapter-procedures
#import "/chapters/artefacts.typ" as chapter-artefacts
#import "/chapters/magic.typ" as chapter-magic
#import "/chapters/foes.typ" as chapter-foes
#import "/chapters/wardens-tome.typ" as chapter-wardens-tome
#import "/chapters/gresha.typ" as chapter-gresha
#import "/chapters/backmatter.typ" as chapter-backmatter
#set document(title: title, author: metadata.author)
#cover
#show: wrapper
#set page(numbering: none, fill: paper-color)
#box(
width: 100%,
height: 100%,
)[
#set align(center + horizon)
#set text(font: display-font, size: 8pt)
#let ouroboros = cover.ouroboros-raw.replace("#000000", heading-color.to-hex())
#box[#image.decode(width: 50%, ouroboros)]
#v(8em)
#stack(
spacing: 16pt,
text(fill: heading-color, size: 32pt, font: title-font)[#title],
text[#ts-link(metadata.repo_cc_license_url)[CC-BY-SA 4.0] | by #ts-link(metadata.author_url)[#metadata.author]],
)
#ts-link(metadata.repo_url)[Source Code] | #ts-link(metadata.repo_license_url)[Source Code License]
Made for #ts-link("https://cairnrpg.com")[Cairn 2nd Edition] by #ts-link("https://newschoolrevolution.com/")[Yochai Gal]
#place(
bottom + center,
)[
#set text(font: primary-font)
#note[
#strong[
#stack(
dir: ltr,
spacing: 4pt,
title,
sym.lozenge.stroked,
ts-link(version_url)[#version],
sym.lozenge.stroked,
datetime.today().display(),
)
]
#if is-wip [
#title is currently under heavy development. Any aspect of this book may change
during this process.
]
#if is-nightly [
This is a *nightly* version of #title that will likely contain pre-released
changes. \
These changes may not be properly tested or are otherwise in an unfinished
state.
]
]
]
]
#pagebreak()
#columns(2)[
#outline(indent: 4pt, depth: 2, title: none)
]
#pagebreak(weak: true)
#set page(footer: set-page-numbers())
#chapter-introduction
#pagebreak(weak: true)
#chapter-marketplace
#pagebreak(weak: true)
#chapter-backgrounds
#pagebreak(weak: true)
#chapter-procedures
#pagebreak(weak: true)
#chapter-magic
#pagebreak(weak: true)
#chapter-artefacts
#pagebreak(weak: true)
#chapter-wardens-tome
#pagebreak(weak: true)
#chapter-gresha
#pagebreak(weak: true)
#chapter-foes
#set page(footer: [])
#chapter-backmatter