updates
[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{}\texorpdfstring{\\[2ex]}{---}\smaller{}\mysubtitle{}}
23 \author{Mart Lubbers}
24 \date{\mydate}
25
26 \begin{document}
27 \selectlanguage{british}
28
29 \frontmatter%
30 \frontmatterfancy%
31
32 %Titlepage
33 \hypertarget{titlepage}{}
34 \bookmark[level=section,dest=titlepage]{Titlepage}
35 \subfile{front/titlepage}
36 \newpage%
37
38 % Epigraph/motto
39 \hypertarget{motto}{}
40 \bookmark[level=section,dest=motto]{Motto}
41 \subfile{front/motto}
42
43 % Table of contents
44 \setcounter{tocdepth}{1}
45 \hypertarget{contents}{}
46 \bookmark[level=section,dest=contents]{Contents}
47 \tableofcontents
48 \newpage%
49
50 % Dedication
51 \hypertarget{dedication}{}
52 \bookmark[level=section,dest=dedication]{Dedication}
53 \subfile{front/dedication}
54
55 % Reset glossary and thus the acronyms
56 \glsresetall{}
57
58 % The actual document
59 \mainmatter%
60 \mainmatterfancy%
61 \setcounter{chapter}{-1}
62
63 % Introduction
64 \subfile{intro/intro}
65
66 \part[\'Etude --- Domain-Specific Languages]{\'Etude\\[2ex]\smaller{}Domain-Specific Languages}%
67 \label{prt:dsl}
68 \subfile{dsl/class} % Deep embedding with class
69 \subfile{dsl/first} % First-class data types
70
71 \part{Orchestrating the IoT using Task-Oriented Programming}%
72 \label{prt:top}
73 \subfile{top/4iot} % TOP for the IoT
74 \subfile{top/lang} % mTask DSL
75 \subfile{top/int} % Integration with iTask
76 \subfile{top/imp} % Implementation
77 \subfile{top/green} % Green computing
78 \subfile{top/finale} % Conclusion
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}