1 \documentclass[twoside,
10pt
]{book
}
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}}
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 \hypertarget{titlepage
}{}
35 \bookmark[level=section,dest=titlepage
]{Titlepage
}
36 \subfile{front/titlepage
}
41 \bookmark[level=section,dest=motto
]{Motto
}
45 \setcounter{tocdepth}{1}
46 \hypertarget{contents
}{}
47 \bookmark[level=section,dest=contents
]{Contents
}
52 \hypertarget{dedication
}{}
53 \bookmark[level=section,dest=dedication
]{Dedication
}
54 \subfile{front/dedication
}
56 % Reset glossary and thus the acronyms
62 \setcounter{chapter
}{-
1}
68 \part[\'Etude --- Domain-Specific Languages
]{\'Etude\\
[2ex
]\smaller{}Domain-Specific Languages
}%
70 \subfile{dsl/class_deep_embedding
} % Deep embedding with class
71 \subfile{dsl/first-class_datatypes
} % First-class data types
73 \part[Oratorio --- Task-Oriented Programming
]{Oratorio\\
[2ex
]\smaller{}Task-Oriented Programming for the Internet of Things
}%
75 \subfile{top/top
} % MTask tutorial and implementation
77 \part[Variations --- Tiered vs.\ Tierless Programming
]{Transformation\\
[2ex
]\smaller{}Tiered vs.\ Tierless Programming
}%
79 \subfile{tvt/tvt
} % Could Tierless Languages Reduce IoT Development Grief?
81 \bookmarksetup{startatroot
} % descend back out of the previous part
82 \addtocontents{toc
}{\bigskip}% Insert some whitespace to make the TOC better
83 \subfile{concl/conclusion
}
88 \addcontentsline{toc
}{part
}{Appendix
}
90 \subfile{appx/clean_for_haskell_programmers
}
91 \subfile{appx/mtask_aux
}
92 \subfile{appx/bytecode
}
96 \bookmarksetup{startatroot
} % descend back out of the appendix
100 \label{chp:bibliography
}
101 \addcontentsline{toc
}{chapter
}{Bibliography
}
102 \bibliography{other,self,tiot
}
105 \subfile{back/summary
}
108 \subfile{back/samenvatting
}
111 \subfile{back/acknowledgements
}
113 % Research data management
114 \subfile{back/research_data_management
}
117 \subfile{back/curriculum_vitae
}
120 \printglossary[style=mcolindex
]%
121 \printglossary[type=
\acronymtype,style=mcolindex
]%
126 %\label{chp:listsof...}
127 %\addcontentsline{toc}{chapter}{Lists of \ldots}
129 %\let\clearpage\relax
130 %\let\cleardoublepage\relax
138 %\addcontentsline{toc}{chapter}{Index}%