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{1}{2}{2023}}
10 % To show hboxes even when in non-draft mode
11 %\setlength{\overfullrule}{20pt}
13 % Just for the todonotes, can go when it's finished
14 \usepackage{todonotes
}
16 backgroundcolor=white,
22 \title{\mytitle\texorpdfstring{\\
[2ex
]}{---
}\smaller\mysubtitle}
29 \let\@bibitem
\saved@bibitem
%
32 \selectlanguage{british
}
38 \hypertarget{titlepage
}{}
39 \bookmark[level=section,dest=titlepage
]{Titlepage
}
40 \subfile{front/titlepage
}
45 \bookmark[level=section,dest=motto
]{Motto
}
50 \setcounter{tocdepth}{1}
51 \hypertarget{contents
}{}
52 \bookmark[level=section,dest=contents
]{Contents
}
57 \hypertarget{dedication
}{}
58 \bookmark[level=section,dest=dedication
]{Dedication
}
59 \subfile{front/dedication
}
64 %\setcounter{chapter}{-1}
65 \glsresetall{} % Reset glossary and thus the acronyms
70 \part[\'Etude --- Domain-Specific Languages
]{\'Etude\\
[2ex
]\smaller{}Domain-Specific Languages
}%
72 \subfile{dsl/class
} % Deep embedding with class
73 \subfile{dsl/first
} % First-class data types
78 \part[Tiered versus Tierless Programming
]{\\
[2ex
]\smaller{}Tiered versus Tierless Programming
}%
80 \subfile{tvt/tvt
} % Could Tierless Languages Reduce IoT Development Grief?
83 \bookmarksetup{startatroot
} % descend back out of the previous part
84 \addtocontents{toc
}{\bigskip}% Insert some whitespace to make the TOC better
90 \addcontentsline{toc
}{part
}{Appendix
}
93 \subfile{appx/mtask_aux
}
94 \subfile{appx/bytecode
}
98 \bookmarksetup{startatroot
} % descend back out of the appendix
102 \label{chp:bibliography
}
103 \addcontentsline{toc
}{chapter
}{Bibliography
}
104 \renewbibmacro*
{begentry
}{\midsentence}
108 \subfile{back/summary
}
111 \subfile{back/samenvatting
}
114 \subfile{back/acknowledgements
}
116 % Research data management
117 \subfile{back/research_data_management
}
120 \subfile{back/curriculum_vitae
}
123 \printglossary[style=mcolindex
]%
128 %\label{chp:listsof...}
129 %\addcontentsline{toc}{chapter}{Lists of \ldots}
131 %\let\clearpage\relax
132 %\let\cleardoublepage\relax
140 %\addcontentsline{toc}{chapter}{Index}%