updates
[phd-thesis.git] / thesis.tex
index 3a48285..9632944 100644 (file)
@@ -1,21 +1,21 @@
 \documentclass[twoside,10pt]{book}
 
-\def\mytitle{Big Things for Tiny Computers}
-\def\mysubtitle{Task-Oriented Programming for the Internet of Things}
+\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}{6}{2023}}
+\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{todonotes}
 \setuptodonotes{
        backgroundcolor=white,
        linecolor=black,
-       size=scriptsize,
+       size=tiny,
 }
 
 % Document info
 \selectlanguage{british}
 
 \frontmatter%
-%\addtitlethumb{Frontmatter}{}{white}{gray}{pagesLTS.0}
+\frontmatterfancy%
 
 %Titlepage
-\subfile{frontmatter/titlepage}
+\hypertarget{titlepage}{}
+\bookmark[level=section,dest=titlepage]{Titlepage}
+\subfile{front/titlepage}
 \newpage%
 
 % Epigraph/motto
-\subfile{frontmatter/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
 \newpage%
 
 % Dedication
-\subfile{frontmatter/dedication}
-
-\listoftodos%
+\hypertarget{dedication}{}
+\bookmark[level=section,dest=dedication]{Dedication}
+\subfile{front/dedication}
 
 % Reset glossary and thus the acronyms
 \glsresetall{}
 
 % The actual document
 \mainmatter%
-\addthumb{Chapters}{\arabic{chapter}}{white}{gray}
+\mainmatterfancy%
 \setcounter{chapter}{-1}
 
 % Introduction
-\subfile{introduction/introduction}
+\subfile{intro/intro}
 % DSL
-\part{Domain-Specific Languages}%
-\label{prt:dsl}
-
-% DSL Techniques
-\subfile{domain_specific_languages/dsl_techniques}
 
-% Deep embedding with class
-\subfile{domain_specific_languages/class_deep_embedding}
-
-% First-class data types
-\subfile{domain_specific_languages/first-class_datatypes}
+\part[\'Etude --- Domain-Specific Languages]{\'Etude\\[2ex]\smaller{}Domain-Specific Languages}%
+\label{prt:dsl}
+\subfile{dsl/class_deep_embedding}  % Deep embedding with class
+\subfile{dsl/first-class_datatypes} % First-class data types
 
-\part{Task-Oriented Programming}%
+\part[Oratorio --- Task-Oriented Programming]{Oratorio\\[2ex]\smaller{}Task-Oriented Programming for the Internet of Things}%
 \label{prt:top}
+\subfile{top/top} % MTask tutorial and implementation
 
-% mTask by example
-\subfile{task_oriented_programming/mtask_by_example}
-
-% Interpreting
-\subfile{task_oriented_programming/interpreting}
-
-% Integration
-\subfile{task_oriented_programming/integration}
-
-\part{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{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{concl/conclusion}
 
 % Start appendix
 \appendix%
 \label{chp:appendix}
-\addthumb{Appendices}{\Alph{chapter}}{white}{gray}
+\addcontentsline{toc}{part}{Appendix}
 
-\subfile{appendix/clean_for_haskell_programmers.tex}
+\subfile{appx/clean_for_haskell_programmers}
+\subfile{appx/mtask_aux}
+\subfile{appx/bytecode}
 
 \backmatter%
-\addtitlethumb{Backmatter}{}{white}{gray}{pagesLTS.0}
+\backmatterfancy%
+\bookmarksetup{startatroot} % descend back out of the appendix
 
 % Bibliography
 \phantomsection{}%
 \label{chp:bibliography}
 \addcontentsline{toc}{chapter}{Bibliography}
-\bibliography{thesis}
+\bibliography{other,self,tiot}
 
 % Summary
-\subfile{backmatter/summary}
+\subfile{back/summary}
 
 % Samenvatting
-\subfile{backmatter/samenvatting}
+\subfile{back/samenvatting}
 
 % Acknowledgements
-\subfile{backmatter/acknowledgements}
+\subfile{back/acknowledgements}
 
 % Research data management
-\subfile{backmatter/research_data_management}
+\subfile{back/research_data_management}
 
 % Curriculum vitæ
-\subfile{backmatter/curriculum_vitae}
+\subfile{back/curriculum_vitae}
 
 % Glossary
-\addcontentsline{toc}{chapter}{Glossary}%
-\label{chp:glossaries}
-\printglossaries%
-
-% Lists of
-\cleardoublepage{}
-\phantomsection{}%
-\label{chp:listsof...}
-\addcontentsline{toc}{chapter}{Lists of \ldots}
-\begingroup
-\let\clearpage\relax
-\let\cleardoublepage\relax
-\listoffigures%
-\listoftables%
-\listofalgorithms%
-\lstlistoflistings%
-\endgroup
+\printglossary[style=mcolindex]%
+\printglossary[type=\acronymtype,style=mcolindex]%
+
+%% Lists of
+%\cleardoublepage{}
+%\phantomsection{}%
+%\label{chp:listsof...}
+%\addcontentsline{toc}{chapter}{Lists of \ldots}
+%\begingroup
+%\let\clearpage\relax
+%\let\cleardoublepage\relax
+%\listoffigures%
+%\listoftables%
+%\listofalgorithms%
+%\lstlistoflistings%
+%\endgroup
 
 % Index
-\addcontentsline{toc}{chapter}{Index}%
-\label{chp:index}
-\printindex
+%\addcontentsline{toc}{chapter}{Index}%
+%\label{chp:index}
+%\printindex
 
 \end{document}