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,
21 \title{\mytitle\texorpdfstring{\\
[2ex
]}{---
}\smaller\mysubtitle}
28 \let\@bibitem
\saved@bibitem
%
31 \selectlanguage{british
}
37 \hypertarget{titlepage
}{}
38 \bookmark[level=section,dest=titlepage
]{Titlepage
}
39 \subfile{front/titlepage
}
44 \bookmark[level=section,dest=motto
]{Motto
}
49 \setcounter{tocdepth}{1}
50 \hypertarget{contents
}{}
51 \bookmark[level=section,dest=contents
]{Contents
}
56 \hypertarget{dedication
}{}
57 \bookmark[level=section,dest=dedication
]{Dedication
}
58 \subfile{front/dedication
}
63 %\setcounter{chapter}{-1}
64 \glsresetall{} % Reset glossary and thus the acronyms
69 \part[\'Etude --- Domain-Specific Languages
]{\'Etude\\
[2ex
]\smaller{}Domain-Specific Languages
}%
71 \subfile{dsl/class
} % Deep embedding with class
72 \subfile{dsl/first
} % First-class data types
77 \part[Tiered versus Tierless Programming
]{\\
[2ex
]\smaller{}Tiered versus Tierless Programming
}%
79 \subfile{tvt/tvt
} % Could Tierless Languages Reduce IoT Development Grief?
82 \bookmarksetup{startatroot
} % descend back out of the previous part
83 \addtocontents{toc
}{\bigskip}% Insert some whitespace to make the TOC better
89 \addcontentsline{toc
}{part
}{Appendix
}
92 \subfile{appx/mtask_aux
}
93 \subfile{appx/bytecode
}
97 \bookmarksetup{startatroot
} % descend back out of the appendix
101 \label{chp:bibliography
}
102 \addcontentsline{toc
}{chapter
}{Bibliography
}
103 \renewbibmacro*
{begentry
}{\midsentence}
107 \subfile{back/summary
}
110 \subfile{back/samenvatting
}
113 \subfile{back/acknowledgements
}
115 % Research data management
116 \subfile{back/research_data_management
}
119 \subfile{back/curriculum_vitae
}
122 \printglossary[style=mcolindex
]%
127 %\label{chp:listsof...}
128 %\addcontentsline{toc}{chapter}{Lists of \ldots}
130 %\let\clearpage\relax
131 %\let\cleardoublepage\relax
139 %\addcontentsline{toc}{chapter}{Index}%