-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathms.yaml
69 lines (68 loc) · 2.63 KB
/
ms.yaml
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
# Base default settings for ms format, primarily intended for
# PDF production. Depends on the `bk.ms` template and the filters
# `fixes-ms` and `image-ms`.
#
# NOTE on fonts:
# - For font combos, add `-d ms/fonts/XY` where XY is a short mnemomic.
# - Font families that come with groff:
# - Serifs: BM (ITC Bookman Light), N (New Century Schoolbook), P (Palatino),
# T (Times), U-BM (URW Bookman L Light), U-N (Century Schoolbook L),
# U-P (URW Palladio L), U-T (Nimbus Roman No9).
# - Sans-serifs: A (ITC Avant Garde Gothic Book), H (Helvetica), HN
# (Helvetica Narrow), U-A (URW Gothic L), U-HN (Nimbus Sans L Condensed)
# - Monospaced: C (Courier), which in my setup has been overridden by
# New Computer Modern Mono; and U-C (Nimbus Mono L).
# - Font families that I have made available to groff:
# - Serifs: Aleg (Alegreya), FSer (FreeSerif), GarLib (Garamond Libre), Lib
# (Libertinus), Minion (Minion Pro), NewCM (New Computer Modern),
# ScrSer (Source Serif 4), Crim (Crimson Pro), Lora, EBGar (EB Garamond).
# - Sans-serifs (e.g. for heading-fontfam): NewCMSans (New Computer Modern
# Sans), Myriad (Myriad Pro), FiraGo, SrcSans (Source Sans 3), AlegSans
# (Alegreya Sans)
# - Monospaced: New Computer Modern Mono (as "C").
#
# NOTE on other companion default files:
# - For fenced div handling (both by class and attribute), use `-d ms/div`.
# - Instead of `--toc`, add `-d ms/toc` or even `-d ms/coverpage`
#
from: markdown
to: ms
template: bk
citeproc: true
standalone: true
pdf-engine: pdfroff
pdf-engine-opts:
- "-U"
variables:
# Tasklist symbols are handled in the bk.ms template - no need for filter.
no-tasklist-filter: true
papersize: a4
# fontfamily: Minion
## Optional heading-fontfam* used by fixes-ms filter; has no effect without
## fontfamily also being set.
## Note that it will also be used in the table of contents!
# heading-fontfam: Myriad
# heading-fontfam-max-level: 6
indent: 2m
hyphenate: true
text-width: 15c
margin-left: 3c
margin-top: 2.5c
margin-bottom: 2.5c
paragraph-spacing: 0.2v
# Font size difference between heading levels
psincr: 0.25m
# Heading level above which point size does not change
growps: 4
# NOTE: Assumes Icelandic - will need a different defaults file for
# other languages
toc-title: "Efnisyfirlit"
abstract-title: "ÚTDRÁTTUR"
icelandic-dates: true # Affects MONTHx variables in template
header-includes:
- ".hl is"
- ".hpf /usr/local/share/groff/site-tmac/hyphen.is"
filters:
- image-ms.lua
- fixes-ms.lua
dpi: 300