Repository navigation
Expand file tree
/
Copy path15-notebook.yaml
More file actions
71 lines (63 loc) · 1.78 KB
/
Copy path15-notebook.yaml
File metadata and controls
71 lines (63 loc) · 1.78 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
# notebook — several papers in one linked document (§ 7.13).
#
# The second document generator, and the first that composes blades: each
# section is filled by an ordinary generator, and the contents page links to
# them so a pen finds them on an e-ink device. One PDF on the device instead of
# twelve.
#
# A section is a definition in miniature — `generator:` and then that
# generator's own keys, exactly as at the top of this file. Anything a blade can
# do, a section can do.
#
# Twelve pages here so the example stays small — a title, a contents page, and
# three sections of three, two and two behind their dividers; the `notebook-a4`
# preset is the real thing at 106.
version: 1
page:
format: a4
margin: 15mm
# A notebook is flipped through, so the bands earn their keep: the header names
# the section a page belongs to, the footer counts the pages.
header:
height: 8mm
gap: 3mm
font: { size: 9pt }
left: "{section}"
footer:
height: 8mm
gap: 3mm
font: { size: 9pt }
right: "{page} / {page_count}"
generator: notebook
title_page:
title: "Notebook"
subtitle: "three papers, one document"
background: "#2f3a48"
text_color: "#ffffff"
sections:
- label: "Bullet journal"
pages: 3
divider: true
generator: dots
grid:
x: { base_spacing: 5mm }
y: { base_spacing: 5mm }
base_size: 0.4mm
color: "#8a94a0"
- label: "Sums"
pages: 2
divider: true
generator: lines
families:
- { direction: horizontal, base_spacing: 5mm, base_weight: 0.12pt,
color: ["#c8ced6"] }
- { direction: vertical, base_spacing: 5mm, base_weight: 0.12pt,
color: ["#c8ced6"] }
- label: "Music"
pages: 2
divider: true
generator: staves
count: 10
stave_space: 1.8mm
clef: treble
color: "#5b6b7d"