process many comments
[phd-thesis.git] / thesis.tex
1 \documentclass[twoside,10pt]{book}
2
3 \def\mytitle{Orchestrating the Internet of Things\texorpdfstring{\\}{ }with Task-Oriented Programming}
4 \def\mysubtitle{a purely functional rhapsody}
5 \def\myauthor{Mart Lubbers}
6 \def\mydate{\formatdate{1}{2}{2023}}
7
8 \input{preamble}
9
10 % To show hboxes even when in non-draft mode
11 \setlength{\overfullrule}{20pt}
12
13 % Just for the todonotes, can go when it's finished
14 \usepackage{todonotes}
15 \setuptodonotes{
16 backgroundcolor=white,
17 linecolor=black,
18 % size=tiny,
19 }
20
21 % Document info
22 \title{\mytitle\texorpdfstring{\\[2ex]}{---}\smaller\mysubtitle}
23 \author{Mart Lubbers}
24 \date{\mydate}
25
26 \begin{document}
27 \begingroup
28 \makeatletter
29 \let\@bibitem\saved@bibitem%
30 \endgroup
31
32 \selectlanguage{british}
33
34 \frontmatter%
35 \frontmatterfancy%
36
37 %Titlepage
38 \hypertarget{titlepage}{}
39 \bookmark[level=section,dest=titlepage]{Titlepage}
40 \subfile{front/titlepage}
41 \cleardoublepage%
42
43 % Epigraph/motto
44 \hypertarget{motto}{}
45 \bookmark[level=section,dest=motto]{Motto}
46 \subfile{front/motto}
47 \cleardoublepage%
48
49 % Table of contents
50 \setcounter{tocdepth}{1}
51 \hypertarget{contents}{}
52 \bookmark[level=section,dest=contents]{Contents}
53 \tableofcontents
54 \cleardoublepage%
55
56 % Dedication
57 \hypertarget{dedication}{}
58 \bookmark[level=section,dest=dedication]{Dedication}
59 \subfile{front/dedication}
60
61 % The actual document
62 \mainmatter%
63 \mainmatterfancy%
64 %\setcounter{chapter}{-1}
65 \glsresetall{} % Reset glossary and thus the acronyms
66
67 % Introduction
68 \subfile{intro/intro}
69
70 \part[\'Etude --- Domain-Specific Languages]{\'Etude\\[2ex]\smaller{}Domain-Specific Languages}%
71 \label{prt:dsl}
72 \subfile{dsl/class} % Deep embedding with class
73 \subfile{dsl/first} % First-class data types
74
75 % Part II
76 \subfile{top/top}
77
78 \part[Tiered versus Tierless Programming]{\\[2ex]\smaller{}Tiered versus Tierless Programming}%
79 \label{prt:tvt}
80 \subfile{tvt/tvt} % Could Tierless Languages Reduce IoT Development Grief?
81
82 % Conclusion
83 \bookmarksetup{startatroot} % descend back out of the previous part
84 \addtocontents{toc}{\bigskip}% Insert some whitespace to make the TOC better
85 \subfile{coda/coda}
86
87 % Start appendix
88 \appendix%
89 \label{chp:appendix}
90 \addcontentsline{toc}{part}{Appendix}
91
92 \subfile{appx/c4hp}
93 \subfile{appx/mtask_aux}
94 \subfile{appx/bytecode}
95
96 \backmatter%
97 \backmatterfancy%
98 \bookmarksetup{startatroot} % descend back out of the appendix
99
100 % Bibliography
101 \phantomsection{}%
102 \label{chp:bibliography}
103 \addcontentsline{toc}{chapter}{Bibliography}
104 \renewbibmacro*{begentry}{\midsentence}
105 \printbibliography%
106
107 % Summary
108 \subfile{back/summary}
109
110 % Samenvatting
111 \subfile{back/samenvatting}
112
113 % Acknowledgements
114 \subfile{back/acknowledgements}
115
116 % Research data management
117 \subfile{back/research_data_management}
118
119 % Curriculum vitæ
120 \subfile{back/curriculum_vitae}
121
122 % Glossary
123 \printglossary[style=mcolindex]%
124
125 %% Lists of
126 %\cleardoublepage{}
127 %\phantomsection{}%
128 %\label{chp:listsof...}
129 %\addcontentsline{toc}{chapter}{Lists of \ldots}
130 %\begingroup
131 %\let\clearpage\relax
132 %\let\cleardoublepage\relax
133 %\listoffigures%
134 %\listoftables%
135 %\listofalgorithms%
136 %\lstlistoflistings%
137 %\endgroup
138
139 % Index
140 %\addcontentsline{toc}{chapter}{Index}%
141 %\label{chp:index}
142 %\printindex
143
144 \end{document}