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