\def\mytitle{Orchestrating the Internet of Things\texorpdfstring{\\}{ }with Task-Oriented Programming}
\def\mysubtitle{a purely functional rhapsody}
\def\myauthor{Mart Lubbers}
-\def\mydate{\formatdate{1}{2}{2023}}
+\def\mydate{\formatdate{9}{3}{2023}}
\input{preamble}
+% for bleeding and cropmarks
+%\usepackage[width=17.6truecm, height=24.6truecm, cam, pdftex, center, noinfo ]{crop}
% To show hboxes even when in non-draft mode
-%\overfullrule=1pt
-\showboxdepth=\maxdimen%
-\showboxbreadth=\maxdimen%
-% \showboxdepth=5
-% \showboxbreadth=5
-\setlength{\overfullrule}{20pt}
-
-% Just for the todonotes, can go when it's finished
-\usepackage{todonotes}
-\setuptodonotes{
- backgroundcolor=white,
- linecolor=black,
-% size=tiny,
-}
+%\setlength{\overfullrule}{20pt}
% Document info
\title{\mytitle\texorpdfstring{\\[2ex]}{---}\smaller\mysubtitle}
-\author{Mart Lubbers}
-\date{\mydate}
+\author{}
+\date{}
\begin{document}
+\begingroup
+\makeatletter
+\let\@bibitem\saved@bibitem%
+\endgroup
+
\selectlanguage{british}
\frontmatter%
\frontmatterfancy%
+%Cover
+\hypertarget{cover}{}
+\bookmark[level=section,dest=cover]{Cover}
+\includepdf[fitpaper]{kaft/cover.pdf}
+
+\thispagestyle{empty}
+\maketitle
+\newpage
+
+%Colophon
+\hypertarget{colophon}{}
+\bookmark[level=section,dest=colophon]{Colophon}
+\subfile{front/colophon}
+
%Titlepage
\hypertarget{titlepage}{}
\bookmark[level=section,dest=titlepage]{Titlepage}
\subfile{front/titlepage}
-\newpage%
+\cleardoublepage%
% Epigraph/motto
\hypertarget{motto}{}
\bookmark[level=section,dest=motto]{Motto}
\subfile{front/motto}
+\cleardoublepage%
% Table of contents
\setcounter{tocdepth}{1}
\hypertarget{contents}{}
\bookmark[level=section,dest=contents]{Contents}
\tableofcontents
-\newpage%
+\cleardoublepage%
% Dedication
\hypertarget{dedication}{}
\bookmark[level=section,dest=dedication]{Dedication}
\subfile{front/dedication}
-% Reset glossary and thus the acronyms
-\glsresetall{}
-
% The actual document
\mainmatter%
\mainmatterfancy%
-\setcounter{chapter}{-1}
+%\setcounter{chapter}{-1}
+\glsresetall{} % Reset glossary and thus the acronyms
% Introduction
\subfile{intro/intro}
\subfile{dsl/class} % Deep embedding with class
\subfile{dsl/first} % First-class data types
-\part[\hspace{-9pt}Orchestrating the Internet of Things using Task-Oriented Programming]{\\[2ex]\smaller{}Orchestrating the Internet of Things using Task-Oriented Programming}%
-\label{prt:top}
-\subfile{top/4iot} % TOP for the IoT
-\subfile{top/lang} % mTask DSL
-\subfile{top/int} % Integration with iTask
-\subfile{top/imp} % Implementation
-\subfile{top/green} % Green computing
-\subfile{top/finale} % Conclusion
+% Part II
+\subfile{top/top}
\part[Tiered versus Tierless Programming]{\\[2ex]\smaller{}Tiered versus Tierless Programming}%
\label{prt:tvt}
\subfile{tvt/tvt} % Could Tierless Languages Reduce IoT Development Grief?
% Conclusion
-\bookmarksetup{startatroot} % descend back out of the previous part
+%\bookmarksetup{startatroot} % descend back out of the previous part
\addtocontents{toc}{\bigskip}% Insert some whitespace to make the TOC better
-\subfile{concl/concl}
+\subfile{coda/coda}
% Start appendix
\appendix%
\phantomsection{}%
\label{chp:bibliography}
\addcontentsline{toc}{chapter}{Bibliography}
-\bibliography{other,self,tiot}
+\renewbibmacro*{begentry}{\midsentence}
+\printbibliography%
% Summary
\subfile{back/summary}
% Glossary
\printglossary[style=mcolindex]%
-\printglossary[type=\acronymtype,style=mcolindex]%
%% Lists of
%\cleardoublepage{}