add license
[phd-thesis.git] / thesis.tex
index e94ba89..223de1e 100644 (file)
@@ -1,7 +1,8 @@
 \documentclass[twoside,10pt]{book}
 
-\def\mytitle{Big Things for Tiny Computers}
-\def\mysubtitle{Task-Oriented Programming for the Internet of Things}
+%\def\mytitle{Task-Oriented Programming for the Internet of Things}
+\def\mytitle{Task-Oriented Internet of Things Programming}
+\def\mysubtitle{a purely functional rhapsody}
 \def\myauthor{Mart Lubbers}
 \def\mydate{\formatdate{1}{6}{2023}}
 
@@ -10,9 +11,6 @@
 % To show hboxes even when in non-draft mode
 \overfullrule=1mm
 
-% Just for the blind text, can go when it's finished
-\usepackage{lipsum}
-
 % Just for the todonotes, can go when it's finished
 \usepackage{todonotes}
 \setuptodonotes{
 \date{\mydate}
 
 \begin{document}
+\selectlanguage{british}
+
 \frontmatter%
 %\addtitlethumb{Frontmatter}{}{white}{gray}{pagesLTS.0}
 
 %Titlepage
-\input{titlepage}
+\subfile{frontmatter/titlepage}
 \newpage%
 
 % Epigraph/motto
-\input{motto}
+\subfile{frontmatter/motto}
 
 % Table of contents
 \tableofcontents
 \newpage%
 
 % Dedication
-\input{dedication}
+\subfile{frontmatter/dedication}
 
 \listoftodos%
 
 
 % The actual document
 \mainmatter%
-\addthumb{Chapters}{\arabic{chapter}}{white}{gray}
+\renewcommand\partname{Movement}                   % Rename parts to movements (rhapsody uhu)
+\addthumb{Chapters}{\arabic{chapter}}{white}{gray} % Arabic chapter thumbs 
 \setcounter{chapter}{-1}
 
-\chapter{Introduction}%
-\label{chp:introduction}
-\input{introduction}
+% Introduction
+\subfile{introduction/introduction}
+% DSL
 
-\part{\glst{DSL}}%
+\part{Domain-Specific Languages}%
 \label{prt:dsl}
-\input{domain_specific_languages}
 
-\part{\glst{TOP}}%
+% 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{Task-Oriented Programming}%
 \label{prt:top}
-\input{task_oriented_programming}
 
-\part{\glst{IOT}}%
-\label{prt:iot}
-\input{internet_of_things}
+% 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}%
+\label{prt:tvt}
+
+\subfile{tiered_vs._tierless_programming/smart_campus}
+
+\chapter{Modelling naval scenaries using \acrshort{TOP} and \acrshort{IOT}}
+Arjan's werk {NLARMS}?
 
 % Start appendix
 \appendix%
 \label{chp:appendix}
-\addthumb{Appendices}{\Alph{chapter}}{white}{gray}
+\addthumb{Appendices}{\Alph{chapter}}{white}{gray} % Alpha appendix thumbs
 
-\chapter{\glsentrytext{CLEAN} for \glsentrytext{HASKELL} Programmers}%
-\label{chp:clean_for_haskell_programmers}
-\input{appendix/clean_for_haskell_programmers.tex}
+\subfile{appendix/clean_for_haskell_programmers.tex}
 
 \backmatter%
-\addtitlethumb{Backmatter}{}{white}{gray}{pagesLTS.0}
+\addtitlethumb{Backmatter}{}{white}{gray}{pagesLTS.0} % Empty backmatter thumbs
 
 % Bibliography
 \phantomsection{}%
 \label{chp:bibliography}
 \addcontentsline{toc}{chapter}{Bibliography}
-\bibliographystyle{alpha}
 \bibliography{thesis}
 
-% Abstract
-\chapter{Summary}%
-\label{chp:summary}
-\begin{center}
-       \noindent\input{summary}
-\end{center}
+% Summary
+\subfile{backmatter/summary}
 
 % Samenvatting
-\chapter{Samenvatting}%
-\label{chp:samenvatting}
-\begin{center}
-       \noindent\input{samenvatting}
-\end{center}
+\subfile{backmatter/samenvatting}
 
 % Acknowledgements
-\chapter{Acknowledgements}%
-\label{chp:acknowledgements}
-\begin{center}
-       \noindent\input{acknowledgements}
-\end{center}
-
-\chapter{Research Data Management}%
-\label{chp:research_data_management}
-\input{research_data_management}
-
-% Curriculum Vitae
-\chapter{Curriculum Vit\ae}%
-\label{chp:curriculum_vitae}
-\input{curriculum_vitae}
+\subfile{backmatter/acknowledgements}
+
+% Research data management
+\subfile{backmatter/research_data_management}
+
+% Curriculum vitæ
+\subfile{backmatter/curriculum_vitae}
 
 % Glossary
 \addcontentsline{toc}{chapter}{Glossary}%