1 \documentclass[twoside,
10pt
]{book
}
3 \def\mytitle{Orchestrating the Internet of Things with Task-Oriented Programming
}
4 \def\mysubtitle{a purely functional rhapsody
}
5 \def\myauthor{Mart Lubbers
}
6 \def\mydate{\formatdate{31}{12}{2022}}
10 % To show hboxes even when in non-draft mode
13 % Just for the todonotes, can go when it's finished
14 \usepackage{todonotes
}
16 backgroundcolor=white,
22 \title{\mytitle{} ---
\mysubtitle{}}
28 \selectlanguage{british
}
34 \subfile{frontmatter/titlepage
}
38 \subfile{frontmatter/motto
}
41 %\setcounter{tocdepth}{1}
43 \todo{reduce
tocdepth to
1 before finishing
}
47 \subfile{frontmatter/dedication
}
51 % Reset glossary and thus the acronyms
57 \setcounter{chapter
}{-
1}
60 \subfile{introduction/introduction
}
63 \mypart{prt:dsl
}{Prelude
}{Domain-Specific Languages
}%
66 \subfile{domain-specific_languages/dsl_techniques
}
68 % Deep embedding with class
69 \subfile{domain-specific_languages/class_deep_embedding
}
71 % First-class data types
72 \subfile{domain-specific_languages/first-class_datatypes
}
75 \subfile{domain-specific_languages/strongly-typed_multi-view_stack-based_computations
}
77 \mypart{prt:top
}{Exposition
}{Task-Oriented Programming for the Internet of Things
}%
81 \mypart{prt:tvt
}{Transformation
}{Tiered vs.\ tierless programming
}%
83 \subfile{tiered_vs._tierless_programming/smart_campus
}
85 \bookmarksetup{startatroot
} % descend back out of the previous part
86 \addtocontents{toc
}{\bigskip}% Insert some whitespace to make the TOC better
87 \subfile{conclusion/conclusion
}
92 \addcontentsline{toc
}{part
}{Appendix
}
94 \subfile{appendix/clean_for_haskell_programmers
}
95 \subfile{appendix/bytecode
}
99 \bookmarksetup{startatroot
} % descend back out of the appendix
103 \label{chp:bibliography
}
104 \addcontentsline{toc
}{chapter
}{Bibliography
}
105 \bibliography{other,self
}
108 \subfile{backmatter/summary
}
111 \subfile{backmatter/samenvatting
}
114 \subfile{backmatter/acknowledgements
}
116 % Research data management
117 \subfile{backmatter/research_data_management
}
120 \subfile{backmatter/curriculum_vitae
}
123 \addcontentsline{toc
}{chapter
}{Glossary
}%
124 \label{chp:glossaries
}
130 \label{chp:listsof...
}
131 \addcontentsline{toc
}{chapter
}{Lists of
\ldots}
134 \let\cleardoublepage\relax
142 %\addcontentsline{toc}{chapter}{Index}%