-
Notifications
You must be signed in to change notification settings - Fork 0
/
swanton-texts.tex
254 lines (186 loc) · 6.67 KB
/
swanton-texts.tex
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
% The stuff above is for apps like TeXShop and TeXWorks.
%% Unicode normalization of input text.
%% 0: no normalization (default)
%% 1: normalize to NFC
%% 2: normalize to NFD
%%
%% You almost always want NFC (1) because otherwise diacritics get decomposed
%% even in macro names. This causes TeX to puke. Because OSes have different
%% practices, it's better to choose this explicitly rather than rely on a
%% possibly unknown default.
%%
%% This has to be done first because everything else is affected by it.
\XeTeXinputnormalization 1
%% File prefix.
%% This is the unchanging part of all file names for this document.
\def \FILEPREFIX {swanton-texts}
%% The Memoir class.
%% The manual is called 'memman.pdf'.
\documentclass[12pt,letterpaper,oneside,openright,final]{memoir}
%% LaTeX3 command parsing.
%% Should be used by all modern, right thinking LaTeX programmers.
\usepackage{xparse}
%% The amsmath package is useful for some non-mathematical stuff as well as the obvious
%% mathematical advantages. It needs to be loaded very early to avoid package conflicts.
\usepackage{amsmath}
%%%%
%%%% Font stuff.
%%%%
%%%% Basic font configuration. This loads fontspec.
\input{config/\FILEPREFIX-fonts}
%%%% Font configuration for special symbols.
\input{config/\FILEPREFIX-fonts-symbols}
%%%%
%%%% Packages.
%%%%
%%%% Example formatting with ExPex.
\input{config/\FILEPREFIX-packages-expex}
%%%% Indexing packages and macros.
%%%% This must be loaded before BibLaTeX.
%\input{config/\FILEPREFIX-packages-index}
%%%% Bibliography with BibLaTeX.
\input{config/\FILEPREFIX-packages-bib}
%%%% ReLedmac critical editions typsetting.
\input{config/\FILEPREFIX-packages-reledmac}
%%%% Other packages.
\input{config/\FILEPREFIX-packages-other}
%%%% Hyperlinks and their kin.
\input{config/\FILEPREFIX-packages-hyper}
%%%%
%%%% Memoir configuration and layout.
%%%%
\input{config/\FILEPREFIX-memoir}
%%%%
%%%% Miscellaneous macrology.
%%%%
\input{config/\FILEPREFIX-macrology}
%%%%
%%%% Hy-ph-en-a-tion.
%%%%
%% This is the easiest way to specify special hyphenation breaks.
%% The hard way is to modify TeX’s hyphenation tables.
\hyphenation{sha-m-an}
%%%%%%
%%%%%%
%%%%%% Document body.
%%%%%%
%%%%%%
%% Which bits to include.
%%
%% Leave everything commented out to get the whole kit and kaboodle.
%%
%\includeonly{chapters/\FILEPREFIX-000-introduction,backmatter/\FILEPREFIX-1-bibliography}
%\includeonly{chapters/\FILEPREFIX-089-origin-of-copper,backmatter/\FILEPREFIX-1-bibliography}
%\includeonly{chapters/\FILEPREFIX-090-man-abandoned,backmatter/\FILEPREFIX-1-bibliography}
%\includeonly{chapters/\FILEPREFIX-091-future-little-slave,backmatter/\FILEPREFIX-1-bibliography}
%\includeonly{chapters/\FILEPREFIX-092-mountain-dweller,backmatter/\FILEPREFIX-1-bibliography}
%\includeonly{chapters/\FILEPREFIX-093-strong-man,backmatter/\FILEPREFIX-1-bibliography}
%\includeonly{chapters/\FILEPREFIX-094-wealth-woman,backmatter/\FILEPREFIX-1-bibliography}
%\includeonly{chapters/\FILEPREFIX-095-kiks.adi-frog,backmatter/\FILEPREFIX-1-bibliography}
%\includeonly{chapters/\FILEPREFIX-096-kiks.adi-history,backmatter/\FILEPREFIX-1-bibliography}
%\includeonly{chapters/\FILEPREFIX-097-four-brothers,backmatter/\FILEPREFIX-1-bibliography}
%\includeonly{chapters/\FILEPREFIX-098-owl-woman,backmatter/\FILEPREFIX-1-bibliography}
%\includeonly{chapters/\FILEPREFIX-099-salmon-boy-sitka,backmatter/\FILEPREFIX-1-bibliography}
%\includeonly{chapters/\FILEPREFIX-100-salmon-boy-wrangell,backmatter/\FILEPREFIX-1-bibliography}
%\includeonly{chapters/\FILEPREFIX-101-khaaxhachgook,backmatter/\FILEPREFIX-1-bibliography}
%\includeonly{chapters/\FILEPREFIX-102-sealion-hunt,backmatter/\FILEPREFIX-1-bibliography}
%\includeonly{chapters/\FILEPREFIX-103-spruce-canoe,backmatter/\FILEPREFIX-1-bibliography}
%\includeonly{chapters/\FILEPREFIX-104-kaagwaantaan-history,backmatter/\FILEPREFIX-1-bibliography}
%\includeonly{chapters/\FILEPREFIX-105-kwaashkikhwaan-history,backmatter/\FILEPREFIX-1-bibliography}
%\includeonly{chapters/\FILEPREFIX-106-low-caste-name-wrangell,backmatter/\FILEPREFIX-1-bibliography}
%\includeonly{chapters/\FILEPREFIX-201-tobacco-speeches-wrangell,backmatter/\FILEPREFIX-1-bibliography}
%\includeonly{chapters/\FILEPREFIX-202-memorial-pole-wrangell,backmatter/\FILEPREFIX-1-bibliography}
%\includeonly{chapters/\FILEPREFIX-301-raven-nose,backmatter/\FILEPREFIX-1-bibliography}
%%%%
%%%% Frontmatter: Stuff at the beginning.
%%%%
\begin{document}
%% Print arguments of indexing commands.
%\showindexmarks
\frontmatter
%%%% These use \input so that they are always included, ignoring any \includeonly.
\input{frontmatter/\FILEPREFIX-A1-titlepage}
\pagestyle{plain}
\input{frontmatter/\FILEPREFIX-A2-contents}
%\input{frontmatter/\FILEPREFIX-A3-abbreviations}
%%%%
%%%% Mainmatter: The body.
%%%%
\mainmatter
\pagestyle{mine}
% This makes the introduction chapter 0. The benefit of this is that
% the ‘first narrative’ is then chapter 1, making references natural.
\setcounter{chapter}{-1}
%%%%
\include{chapters/\FILEPREFIX-000-introduction}
%%%%
%%%% Part 1: Narratives.
%%%%
\part{Narratives}
%%%%
\include{chapters/\FILEPREFIX-089-origin-of-copper}
%%%%
\include{chapters/\FILEPREFIX-090-man-abandoned}
%%%%
\include{chapters/\FILEPREFIX-091-future-little-slave}
%%%%
\include{chapters/\FILEPREFIX-092-mountain-dweller}
%%%%
\include{chapters/\FILEPREFIX-093-strong-man}
%%%%
\include{chapters/\FILEPREFIX-094-wealth-woman}
%%%%
\include{chapters/\FILEPREFIX-095-kiks.adi-frog}
%%%%
\include{chapters/\FILEPREFIX-096-kiks.adi-history}
%%%%
\include{chapters/\FILEPREFIX-097-four-brothers}
%%%%
\include{chapters/\FILEPREFIX-098-owl-woman}
%%%%
\include{chapters/\FILEPREFIX-099-salmon-boy-sitka}
%%%%
\include{chapters/\FILEPREFIX-100-salmon-boy-wrangell}
%%%%
\include{chapters/\FILEPREFIX-101-khaaxhachgook}
%%%%
\include{chapters/\FILEPREFIX-102-sealion-hunt}
%%%%
\include{chapters/\FILEPREFIX-103-spruce-canoe}
%%%%
\include{chapters/\FILEPREFIX-104-kaagwaantaan-history}
%%%%
\include{chapters/\FILEPREFIX-105-kwaashkikhwaan-history}
%%%%
\include{chapters/\FILEPREFIX-106-low-caste-name-wrangell}
%%%%
%%%% Part 2: Oratory.
%%%%
\part{Oratory}
%%%%
\include{chapters/\FILEPREFIX-201-tobacco-speeches-wrangell}
%%%%
\include{chapters/\FILEPREFIX-202-memorial-pole-wrangell}
%%%%
%%%% Part 3: Lyrics.
%%%%
\part{Lyrics}
%%%%
\include{chapters/\FILEPREFIX-301-raven-nose}
%%%%
%%%% Appendices.
%%%%
\appendix
%%%%
%%%% Backmatter: Stuff at the end.
%%%%
\backmatter
%%%%
\include{backmatter/\FILEPREFIX-1-bibliography}
%%%%
%\include{backmatter/\FILEPREFIX-2-indices}
%%%% The \input forces inclusion regardless of \includeonly.
%\input{backmatter/\FILEPREFIX-3-colophon}
\end{document}