more more more
[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{31}{12}{2022}}
7
8 \input{preamble}
9
10 % To show hboxes even when in non-draft mode
11 \overfullrule=1pt
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{} --- \mysubtitle{}}
23 \author{Mart Lubbers}
24
25 \date{\mydate}
26
27 \begin{document}
28 \selectlanguage{british}
29
30 \frontmatter%
31 \frontmatterfancy%
32
33 %Titlepage
34 \hypertarget{titlepage}{}
35 \bookmark[level=section,dest=titlepage]{Titlepage}
36 \subfile{front/titlepage}
37 \newpage%
38
39 % Epigraph/motto
40 \hypertarget{motto}{}
41 \bookmark[level=section,dest=motto]{Motto}
42 \subfile{front/motto}
43
44 % Table of contents
45 \setcounter{tocdepth}{1}
46 \hypertarget{contents}{}
47 \bookmark[level=section,dest=contents]{Contents}
48 \tableofcontents
49 \newpage%
50
51 % Dedication
52 \hypertarget{dedication}{}
53 \bookmark[level=section,dest=dedication]{Dedication}
54 \subfile{front/dedication}
55
56 % Reset glossary and thus the acronyms
57 \glsresetall{}
58
59 % The actual document
60 \mainmatter%
61 \mainmatterfancy%
62 \setcounter{chapter}{-1}
63
64 % Introduction
65 \subfile{intro/intro}
66
67 \part[\'Etude --- Domain-Specific Languages]{\'Etude\\[2ex]\smaller{}Domain-Specific Languages}%
68 \label{prt:dsl}
69 \subfile{dsl/class} % Deep embedding with class
70 \subfile{dsl/first} % First-class data types
71
72 \part{Orchestrating the IoT using Task-Oriented Programming}%
73 \label{prt:top}
74 \subfile{top/4iot} % TOP for the IoT
75 \subfile{top/lang} % mTask DSL
76 \subfile{top/int} % Integration with iTask
77 \subfile{top/imp} % Implementation
78 \subfile{top/green} % Green computing
79
80 \part{Tiered vs.\ Tierless Programming}%
81 \label{prt:tvt}
82 \subfile{tvt/tvt} % Could Tierless Languages Reduce IoT Development Grief?
83
84 % Conclusion
85 \bookmarksetup{startatroot} % descend back out of the previous part
86 \addtocontents{toc}{\bigskip}% Insert some whitespace to make the TOC better
87 \subfile{concl/concl}
88
89 % Start appendix
90 \appendix%
91 \label{chp:appendix}
92 \addcontentsline{toc}{part}{Appendix}
93
94 \subfile{appx/c4hp}
95 \subfile{appx/mtask_aux}
96 \subfile{appx/bytecode}
97
98 \backmatter%
99 \backmatterfancy%
100 \bookmarksetup{startatroot} % descend back out of the appendix
101
102 % Bibliography
103 \phantomsection{}%
104 \label{chp:bibliography}
105 \addcontentsline{toc}{chapter}{Bibliography}
106 \bibliography{other,self,tiot}
107
108 % Summary
109 \subfile{back/summary}
110
111 % Samenvatting
112 \subfile{back/samenvatting}
113
114 % Acknowledgements
115 \subfile{back/acknowledgements}
116
117 % Research data management
118 \subfile{back/research_data_management}
119
120 % Curriculum vitæ
121 \subfile{back/curriculum_vitae}
122
123 % Glossary
124 \printglossary[style=mcolindex]%
125 \printglossary[type=\acronymtype,style=mcolindex]%
126
127 %% Lists of
128 %\cleardoublepage{}
129 %\phantomsection{}%
130 %\label{chp:listsof...}
131 %\addcontentsline{toc}{chapter}{Lists of \ldots}
132 %\begingroup
133 %\let\clearpage\relax
134 %\let\cleardoublepage\relax
135 %\listoffigures%
136 %\listoftables%
137 %\listofalgorithms%
138 %\lstlistoflistings%
139 %\endgroup
140
141 % Index
142 %\addcontentsline{toc}{chapter}{Index}%
143 %\label{chp:index}
144 %\printindex
145
146 \end{document}