/
main.tex
117 lines (99 loc) · 3.27 KB
/
main.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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% %%%
%%% Language Science Press Master File %%%
%%% follow the instructions below %%%
%%% %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Everything following a % is ignored
% Some lines start with %. Remove the % to include them
\documentclass[output=book,
modfonts,
% draftmode,draft,
nonflat,
% colorlinks,
% showindex
]{langsci/langscibook}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% %%%
%%% additional packages %%%
%%% %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% put all additional commands you need in the
% following files. {I}f you do not know what this might
% mean, you can safely ignore this section
\input{localmetadata.tex}
\input{localpackages.tex}
\input{localhyphenation.tex}
\input{localcommands.tex}
\input{localcounters.tex}
\bibliography{localbibliography}
% \includeonly{
% chapters/1,
% chapters/2,
% chapters/3,
% chapters/4,
% chapters/5,
% chapters/6,
% chapters/7,
% chapters/8,
% chapters/9,
% chapters/10,
% chapters/11,
% chapters/12
% }
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% %%%
%%% Frontmatter %%%
%%% %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\maketitle
\frontmatter
% %% uncomment if you have preface and/or acknowledgements
%\currentpdfbookmark{Contents}{name} % adds a PDF bookmark
\newcommand{\chapterpath}{chapters}
\largerpage
\tableofcontents
\include{\chapterpath/preface}
\include{\chapterpath/acknowledgments}
\include{\chapterpath/abbreviations}
\mainmatter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% %%%
%%% Chapters %%%
%%% %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\include{\chapterpath/1}
\include{\chapterpath/2}
\include{\chapterpath/3}
\include{\chapterpath/4}
\include{\chapterpath/5}
\include{\chapterpath/6}
\include{\chapterpath/7}
\include{\chapterpath/8}
\include{\chapterpath/9}
\include{\chapterpath/10}
\include{\chapterpath/11}
\include{\chapterpath/12}
\appendix
\include{\chapterpath/appendix}
\include{\chapterpath/molokoenglish}
\include{\chapterpath/englishmoloko}
% \nocite{*} % uncomment this line to show all entries in localbibliography.bib
% % copy the lines above and adapt as necessary
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% %%%
%%% Backmatter %%%
%%% %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\input{localseealso.tex}
% There is normally no need to change the backmatter section
\sloppy
\input{backmatter.tex}
\end{document}
% you can create your book by running
% xelatex main.tex
%
% you can also try a simple
% make
% on the commandline