X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=thesis.tex;h=95a4c46c3d88c55ef9a8a5c8a8bdf411ae8ff05d;hb=5aa57e0cb31d64685ad4c0624c1047a4b7e77399;hp=6a37316575b5076d1dfb330027d8285a9464268f;hpb=8d13b34bbd6121ac0babfc6daca0db4b8b40e561;p=phd-thesis.git diff --git a/thesis.tex b/thesis.tex index 6a37316..95a4c46 100644 --- a/thesis.tex +++ b/thesis.tex @@ -1,52 +1,124 @@ -\documentclass[10pt]{book} +\documentclass[twoside,10pt]{book} + +\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=1pt + +% Just for the todonotes, can go when it's finished +\usepackage{todonotes} +\setuptodonotes{ + backgroundcolor=white, + linecolor=black, + size=tiny, +} + % Document info -\title{Some title} -\author{Some author} +\title{\mytitle{} --- \mysubtitle{}} +\author{Mart Lubbers} -% If you want to fix the date: \formatdate{10}{7}{2017}} -\date{\today} +\date{\mydate} \begin{document} -\frontmatter{} +\selectlanguage{british} + +\frontmatter% +\frontmatterfancy% %Titlepage -\input{titlepage} +\hypertarget{titlepage}{} +\bookmark[level=section,dest=titlepage]{Titlepage} +\subfile{front/titlepage} \newpage% -\input{motto} + +% 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 \newpage% -\input{dedication} +% Dedication +\hypertarget{dedication}{} +\bookmark[level=section,dest=dedication]{Dedication} +\subfile{front/dedication} % Reset glossary and thus the acronyms \glsresetall{} % The actual document -\mainmatter{} +\mainmatter% +\mainmatterfancy% +\setcounter{chapter}{-1} + +% Introduction +\subfile{intro/intro} +% DSL + +\part[\'Etude --- Domain-Specific Languages]{\'Etude\\[2ex]\smaller{}Domain-Specific Languages}% +\label{prt:dsl} +\subfile{dsl/class} % Deep embedding with class +\subfile{dsl/first} % First-class data types -\chapter{Example}% -\label{chp:example} -\input{example} +\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 + +\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? + +\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} -\chapter{An Appendix}% -\label{chp:an_appendix} -\input{an_appendix.tex} +\addcontentsline{toc}{part}{Appendix} + +\subfile{appx/clean_for_haskell_programmers} +\subfile{appx/mtask_aux} +\subfile{appx/bytecode} \backmatter% +\backmatterfancy% +\bookmarksetup{startatroot} % descend back out of the appendix + % Bibliography \phantomsection{}% \label{chp:bibliography} \addcontentsline{toc}{chapter}{Bibliography} -\bibliographystyle{plain} -\bibliography{thesis} +\bibliography{other,self,tiot} + +% Summary +\subfile{back/summary} + +% Samenvatting +\subfile{back/samenvatting} + +% Acknowledgements +\subfile{back/acknowledgements} + +% Research data management +\subfile{back/research_data_management} + +% Curriculum vitæ +\subfile{back/curriculum_vitae} + +% Glossary +\printglossary[style=mcolindex]% +\printglossary[type=\acronymtype,style=mcolindex]% %% Lists of %\cleardoublepage{} @@ -62,40 +134,9 @@ %\lstlistoflistings% %\endgroup -% Abstract -\chapter{Summary}% -\label{chp:summary} -\begin{center} - \noindent\input{summary} -\end{center} - -% Samenvatting -\chapter{Samenvatting}% -\label{chp:samenvatting} -\begin{center} - \noindent\input{samenvatting} -\end{center} - -% Acknowledgements -\chapter{Acknowledgements}% -\label{chp:acknowledgements} -\begin{center} - \noindent\input{acknowledgements} -\end{center} - -% Curriculum Vitae -\chapter{Curriculum Vit\ae}% -\label{chp:curriculum_vitae} -\input{curriculum_vitae} - -% Glossary -\addcontentsline{toc}{chapter}{Glossary}% -\label{chp:glossaries} -\printglossaries% - % Index -\addcontentsline{toc}{chapter}{Index}% -\label{chp:index} -\printindex +%\addcontentsline{toc}{chapter}{Index}% +%\label{chp:index} +%\printindex \end{document}