\documentclass[twoside,10pt]{book}
-\def\mytitle{Orchestrating the Internet of Things with Task-Oriented Programming}
+\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{31}{12}{2022}}
\input{preamble}
% To show hboxes even when in non-draft mode
-\overfullrule=1mm
+\overfullrule=1pt
% Just for the todonotes, can go when it's finished
-\usepackage[disable]{todonotes}
+\usepackage{todonotes}
\setuptodonotes{
backgroundcolor=white,
linecolor=black,
- size=scriptsize,
+ size=tiny,
}
-%\newcommand{\todo}[2][1]{1}
-%\newcommand{\listoftodos}{}
% Document info
\title{\mytitle{} --- \mysubtitle{}}
\frontmatterfancy%
%Titlepage
+\hypertarget{titlepage}{}
+\bookmark[level=section,dest=titlepage]{Titlepage}
\subfile{front/titlepage}
\newpage%
% Epigraph/motto
+\hypertarget{motto}{}
+\bookmark[level=section,dest=motto]{Motto}
\subfile{front/motto}
% Table of contents
\setcounter{tocdepth}{1}
+\hypertarget{contents}{}
+\bookmark[level=section,dest=contents]{Contents}
\tableofcontents
-\todo{to reduce the size: make listings font smaller}
\newpage%
% Dedication
+\hypertarget{dedication}{}
+\bookmark[level=section,dest=dedication]{Dedication}
\subfile{front/dedication}
% Reset glossary and thus the acronyms
\setcounter{chapter}{-1}
% Introduction
-\subfile{intro/introduction}
+\subfile{intro/intro}
% DSL
-\part[Prelude: Domain-Specific Languages]{Prelude:\\[2ex]\smaller{}Domain-Specific Languages}%
+\part[\'Etude --- Domain-Specific Languages]{\'Etude\\[2ex]\smaller{}Domain-Specific Languages}%
\label{prt:dsl}
-\subfile{dsl/dsl_techniques} % DSL Techniques
-\subfile{dsl/class_deep_embedding} % Deep embedding with class
-\subfile{dsl/first-class_datatypes} % First-class data types
+\subfile{dsl/class} % Deep embedding with class
+\subfile{dsl/first} % First-class data types
-\part[Exposition: Task-Oriented Programming]{Exposition:\\[2ex]\smaller{}Task-Oriented Programming for the Internet of Things}%
+\part[Oratorio --- Task-Oriented Programming]{Oratorio\\[2ex]\smaller{}Task-Oriented Programming for the Internet of Things}%
\label{prt:top}
-\subfile{top/mtask} % MTask tutorial and implementation
+\subfile{top/top} % MTask tutorial and implementation
-\part[Transformation: Tiered vs.\ Tierless Programming]{Transformation:\\[2ex]\smaller{}Tiered vs.\ Tierless Programming}%
+\part[Variations --- Tiered vs.\ Tierless Programming]{Transformation\\[2ex]\smaller{}Tiered vs.\ Tierless Programming}%
\label{prt:tvt}
\subfile{tvt/tvt} % Could Tierless Languages Reduce IoT Development Grief?
\subfile{back/curriculum_vitae}
% Glossary
-\addcontentsline{toc}{chapter}{Glossary}%
-\label{chp:glossaries}
-\printglossary%
-%\printglossary[type=\acronymtype,style=mcolindex]%
-\printglossary[type=\acronymtype]%
+\printglossary[style=mcolindex]%
+\printglossary[type=\acronymtype,style=mcolindex]%
%% Lists of
%\cleardoublepage{}