-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuilding-verbs.tex
165 lines (131 loc) · 4.4 KB
/
building-verbs.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
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
% The stuff above is for apps like TeXShop and TeXWorks.
%%%%%%
%%%%%%
%%%%%% Initialization.
%%%%%%
%%%%%%
%% 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 must 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 {building-verbs}
%% 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 needs to be loaded very early to avoid
%% package conflicts.
\usepackage{amsmath}
%%%%%%
%%%%%%
%%%%%% Configuration.
%%%%%%
%%%%%%
%%%%
%%%% Font configuration.
%%%%
%%%% Basic font configuration. This loads fontspec.
\input{config/\FILEPREFIX-cfg-fonts-basic}
%%%% Font configuration for special symbols.
\input{config/\FILEPREFIX-cfg-fonts-symbols}
%%%%
%%%% Packages.
%%%%
%% Example formatting with ExPex.
\input{config/\FILEPREFIX-cfg-packages-expex}
%% Indexing packages and macros.
%% This must be loaded before BibLaTeX.
%\input{config/\FILEPREFIX-cfg-packages-index}
%% Bibliography with BibLaTeX.
\input{config/\FILEPREFIX-cfg-packages-bib}
%% Other packages.
\input{config/\FILEPREFIX-cfg-packages-other}
%% Hyperlinks and their kin.
%% This should be loaded after other packages.
\input{config/\FILEPREFIX-cfg-packages-hyper}
%%%%
%%%% Memoir configuration and page layout.
%%%%
\input{config/\FILEPREFIX-cfg-memoir}
%%%%
%%%% Miscellaneous macrology.
%%%%
\input{config/\FILEPREFIX-cfg-macrology}
%%%%
%%%% Hy-ph-en-a-tion.
%%%%
%% This is the easiest way to provide 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-Z1-bibliography}
%\includeonly{chapters/\FILEPREFIX-001-root+stem,backmatter/\FILEPREFIX-Z1-bibliography}
%\includeonly{chapters/\FILEPREFIX-002-args,backmatter/\FILEPREFIX-Z1-bibliography}
%\includeonly{chapters/\FILEPREFIX-003-argstr,backmatter/\FILEPREFIX-Z1-bibliography}
%\includeonly{chapters/\FILEPREFIX-004-rootval,backmatter/\FILEPREFIX-Z1-bibliography}
%\includeonly{chapters/\FILEPREFIX-005-arg-add,backmatter/\FILEPREFIX-Z1-bibliography}
%\includeonly{chapters/\FILEPREFIX-006-arg-supp,backmatter/\FILEPREFIX-Z1-bibliography}
%\includeonly{chapters/\FILEPREFIX-007-asp,backmatter/\FILEPREFIX-Z1-bibliography}
%\includeonly{chapters/\FILEPREFIX-008-conj,backmatter/\FILEPREFIX-Z1-bibliography}
%\includeonly{chapters/\FILEPREFIX-009-stemvar,backmatter/\FILEPREFIX-Z1-bibliography}
\begin{document}
%%%%
%%%% Frontmatter: Stuff at the beginning.
%%%%
\frontmatter
%% These use \input so that they are always included, ignoring \includeonly.
\input{frontmatter/\FILEPREFIX-A1-titlepage}
\input{frontmatter/\FILEPREFIX-A2-contents}
\input{frontmatter/\FILEPREFIX-A3-abbreviations}
%%%%
%%%% Mainmatter: The body.
%%%%
\mainmatter
\pagestyle{mine}
% This fixes an apparent bug in titletoc where it doesn't work right with \includeonly.
\startcontents[chapters]
\stopcontents[chapters]
%% Chapters.
\include{chapters/\FILEPREFIX-000-introduction}
\include{chapters/\FILEPREFIX-001-root+stem}
\include{chapters/\FILEPREFIX-002-args}
\include{chapters/\FILEPREFIX-003-argstr}
\include{chapters/\FILEPREFIX-004-rootval}
\include{chapters/\FILEPREFIX-005-arg-add}
\include{chapters/\FILEPREFIX-006-arg-supp}
\include{chapters/\FILEPREFIX-007-asp}
\include{chapters/\FILEPREFIX-008-conj}
\include{chapters/\FILEPREFIX-009-stemvar}
%% Appendices.
%\appendix
%%%%
%%%% Backmatter: Stuff at the end.
%%%%
\backmatter
\include{backmatter/\FILEPREFIX-Z1-bibliography}
\include{backmatter/\FILEPREFIX-Z2-indices}
%%%% The \input forces inclusion regardless of \includeonly.
\input{backmatter/\FILEPREFIX-Z3-colophon}
\end{document}