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{9}{3}{2023}}
10 % To show hboxes even when in non-draft mode
11 %\setlength{\overfullrule}{20pt}
14 \title{\mytitle\texorpdfstring{\\
[2ex
]}{---
}\smaller\mysubtitle}
21 \let\@bibitem
\saved@bibitem
%
24 \selectlanguage{british
}
31 \bookmark[level=section,dest=cover
]{Cover
}
32 \includepdf{img/cover.pdf
}
35 \hypertarget{colophon
}{}
36 \bookmark[level=section,dest=colophon
]{Colophon
}
37 \subfile{front/colophon
}
40 \hypertarget{titlepage
}{}
41 \bookmark[level=section,dest=titlepage
]{Titlepage
}
42 \subfile{front/titlepage
}
47 \bookmark[level=section,dest=motto
]{Motto
}
52 \setcounter{tocdepth}{1}
53 \hypertarget{contents
}{}
54 \bookmark[level=section,dest=contents
]{Contents
}
59 \hypertarget{dedication
}{}
60 \bookmark[level=section,dest=dedication
]{Dedication
}
61 \subfile{front/dedication
}
66 %\setcounter{chapter}{-1}
67 \glsresetall{} % Reset glossary and thus the acronyms
72 \part[\'Etude --- Domain-Specific Languages
]{\'Etude\\
[2ex
]\smaller{}Domain-Specific Languages
}%
74 \subfile{dsl/class
} % Deep embedding with class
75 \subfile{dsl/first
} % First-class data types
80 \part[Tiered versus Tierless Programming
]{\\
[2ex
]\smaller{}Tiered versus Tierless Programming
}%
82 \subfile{tvt/tvt
} % Could Tierless Languages Reduce IoT Development Grief?
85 \bookmarksetup{startatroot
} % descend back out of the previous part
86 \addtocontents{toc
}{\bigskip}% Insert some whitespace to make the TOC better
92 \addcontentsline{toc
}{part
}{Appendix
}
95 \subfile{appx/mtask_aux
}
96 \subfile{appx/bytecode
}
100 \bookmarksetup{startatroot
} % descend back out of the appendix
104 \label{chp:bibliography
}
105 \addcontentsline{toc
}{chapter
}{Bibliography
}
106 \renewbibmacro*
{begentry
}{\midsentence}
110 \subfile{back/summary
}
113 \subfile{back/samenvatting
}
116 \subfile{back/acknowledgements
}
118 % Research data management
119 \subfile{back/research_data_management
}
122 \subfile{back/curriculum_vitae
}
125 \printglossary[style=mcolindex
]%
130 %\label{chp:listsof...}
131 %\addcontentsline{toc}{chapter}{Lists of \ldots}
133 %\let\clearpage\relax
134 %\let\cleardoublepage\relax
142 %\addcontentsline{toc}{chapter}{Index}%