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 with class
71 \subfile{dsl/first
} % First-class data types
73 \part[Oratorio --- Task-Oriented Programming
]{Oratorio\\
[2ex
]\smaller{}Task-Oriented Programming for the Internet of Things
}%
75 %\chapter{\texorpdfstring{\Glsxtrshort{TOP} for the \glsxtrshort{IOT}}{TOP for the IoT}}%
78 %\chapter{The \texorpdfstring{\gls{MTASK}}{mTask} \texorpdfstring{\glsxtrshort{DSL}}{DSL}}%
81 %\chapter{Integration with \texorpdfstring{\gls{ITASK}}{iTask}}%
84 %\chapter{Implementation}%
90 \part[Variations --- Tiered vs.\ Tierless Programming
]{Transformation\\
[2ex
]\smaller{}Tiered vs.\ Tierless Programming
}%
92 \subfile{tvt/tvt
} % Could Tierless Languages Reduce IoT Development Grief?
94 \bookmarksetup{startatroot
} % descend back out of the previous part
95 \addtocontents{toc
}{\bigskip}% Insert some whitespace to make the TOC better
96 \subfile{concl/conclusion
}
101 \addcontentsline{toc
}{part
}{Appendix
}
103 \subfile{appx/clean_for_haskell_programmers
}
104 \subfile{appx/mtask_aux
}
105 \subfile{appx/bytecode
}
109 \bookmarksetup{startatroot
} % descend back out of the appendix
113 \label{chp:bibliography
}
114 \addcontentsline{toc
}{chapter
}{Bibliography
}
115 \bibliography{other,self,tiot
}
118 \subfile{back/summary
}
121 \subfile{back/samenvatting
}
124 \subfile{back/acknowledgements
}
126 % Research data management
127 \subfile{back/research_data_management
}
130 \subfile{back/curriculum_vitae
}
133 \printglossary[style=mcolindex
]%
134 \printglossary[type=
\acronymtype,style=mcolindex
]%
139 %\label{chp:listsof...}
140 %\addcontentsline{toc}{chapter}{Lists of \ldots}
142 %\let\clearpage\relax
143 %\let\cleardoublepage\relax
151 %\addcontentsline{toc}{chapter}{Index}%