many updates
[phd-thesis.git] / thesis.tex
index 20c4d77..4949745 100644 (file)
@@ -1,9 +1,9 @@
 \documentclass[twoside,10pt]{book}
 
-\def\mytitle{Task-Oriented Programming for the Internet of Things}
+\def\mytitle{Orchestrating the Internet of Things with Task-Oriented Programming}
 \def\mysubtitle{a purely functional rhapsody}
 \def\myauthor{Mart Lubbers}
-\def\mydate{\formatdate{1}{6}{2023}}
+\def\mydate{\formatdate{31}{12}{2022}}
 
 \input{preamble}
 
@@ -38,7 +38,9 @@
 \subfile{frontmatter/motto}
 
 % Table of contents
+%\setcounter{tocdepth}{1}
 \tableofcontents
+\todo{reduce tocdepth to 1 before finishing}
 \newpage%
 
 % Dedication
@@ -51,7 +53,6 @@
 
 % The actual document
 \mainmatter%
-\renewcommand\partname{Movement}                   % Rename parts to movements (rhapsody uhu)
 \addthumb{Chapters}{\arabic{chapter}}{white}{gray} % Arabic chapter thumbs 
 \setcounter{chapter}{-1}
 
 \subfile{introduction/introduction}
 % DSL
 
-\part{Domain-Specific Languages}%
+\part[Prelude: Domain-Specific Languages]{Prelude\\Domain-Specific Languages}%
 \label{prt:dsl}
 
 % DSL Techniques
-\subfile{domain_specific_languages/dsl_techniques}
+\subfile{domain-specific_languages/dsl_techniques}
 
 % Deep embedding with class
-\subfile{domain_specific_languages/class_deep_embedding}
+\subfile{domain-specific_languages/class_deep_embedding}
 
 % First-class data types
-\subfile{domain_specific_languages/first-class_datatypes}
+\subfile{domain-specific_languages/first-class_datatypes}
 
-\part{Task-Oriented Programming}%
-\label{prt:top}
-
-% mTask by example
-\subfile{task_oriented_programming/mtask_by_example}
+% Stack computations?
+\subfile{domain-specific_languages/strongly-typed_multi-view_stack-based_computations}
 
-% Interpreting
-\subfile{task_oriented_programming/interpreting}
+\part[Exposition: Task-Oriented Internet of Things Programming]{Exposition\\Task-Oriented Internet of Things Programming}%
+\label{prt:top}
 
-% Integration
-\subfile{task_oriented_programming/integration}
+\subfile{mtask/mtask}
 
-\part{Tiered vs.\ tierless programming}%
+\part[Transformation: Tiered vs.\ tierless programming]{Transformation\\Tiered vs.\ tierless programming}%
 \label{prt:tvt}
 
 \subfile{tiered_vs._tierless_programming/smart_campus}
 
-\chapter{Modelling naval scenaries using \acrshort{TOP} and \acrshort{IOT}}
-Arjan's werk {NLARMS}?
+\bookmarksetup{startatroot} % descend back out of the previous part
+\addtocontents{toc}{\bigskip}% Insert some whitespace to make the TOC better
+\subfile{conclusion/conclusion}
 
 % Start appendix
 \appendix%
 \label{chp:appendix}
+\addcontentsline{toc}{part}{Appendix}
 \addthumb{Appendices}{\Alph{chapter}}{white}{gray} % Alpha appendix thumbs
 
-\subfile{appendix/clean_for_haskell_programmers.tex}
+\subfile{appendix/clean_for_haskell_programmers}
+\subfile{appendix/bytecode}
 
 \backmatter%
+\bookmarksetup{startatroot} % descend back out of the appendix
 \addtitlethumb{Backmatter}{}{white}{gray}{pagesLTS.0} % Empty backmatter thumbs
 
 % Bibliography
 \phantomsection{}%
 \label{chp:bibliography}
 \addcontentsline{toc}{chapter}{Bibliography}
-\bibliography{thesis}
+\bibliography{other,self}
 
 % Summary
 \subfile{backmatter/summary}
@@ -136,9 +137,9 @@ Arjan's werk {NLARMS}?
 \let\clearpage\relax
 \let\cleardoublepage\relax
 \listoffigures%
-\listoftables%
-\listofalgorithms%
-\lstlistoflistings%
+%\listoftables%
+%\listofalgorithms%
+%\lstlistoflistings%
 \endgroup
 
 % Index