X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=thesis.tex;h=d25e93598872551b63f458a556384dc5ffa58456;hb=a5b8d7509c5846d51e2f9e75d4787c7d9b90b408;hp=9281f2b50ac8e6ff79bdf53b49c3ae1d1beb25a0;hpb=658c18356eecd7b43b27b5ee450db4d12a985834;p=phd-thesis.git diff --git a/thesis.tex b/thesis.tex index 9281f2b..d25e935 100644 --- a/thesis.tex +++ b/thesis.tex @@ -1,89 +1,94 @@ \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}} +\def\mydate{\formatdate{1}{2}{2023}} \input{preamble} % To show hboxes even when in non-draft mode -\overfullrule=1mm +%\setlength{\overfullrule}{20pt} % Just for the todonotes, can go when it's finished -\usepackage{todonotes} -\setuptodonotes{ - backgroundcolor=white, - linecolor=black, - size=tiny, -} -%\newcommand{\todo}[2][1]{1} -%\newcommand{\listoftodos}{} +%\usepackage{todonotes} +%\setuptodonotes{ +% backgroundcolor=white, +% linecolor=black, +%} % Document info -\title{\mytitle{} --- \mysubtitle{}} +\title{\mytitle\texorpdfstring{\\[2ex]}{---}\smaller\mysubtitle} \author{Mart Lubbers} - \date{\mydate} \begin{document} +\begingroup +\makeatletter +\let\@bibitem\saved@bibitem% +\endgroup + \selectlanguage{british} \frontmatter% \frontmatterfancy% %Titlepage +\hypertarget{titlepage}{} +\bookmark[level=section,dest=titlepage]{Titlepage} \subfile{front/titlepage} -\newpage% +\cleardoublepage% % Epigraph/motto +\hypertarget{motto}{} +\bookmark[level=section,dest=motto]{Motto} \subfile{front/motto} +\cleardoublepage% % 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% +\cleardoublepage% % Dedication +\hypertarget{dedication}{} +\bookmark[level=section,dest=dedication]{Dedication} \subfile{front/dedication} -% Reset glossary and thus the acronyms -\glsresetall{} - % The actual document \mainmatter% \mainmatterfancy% -\setcounter{chapter}{-1} +%\setcounter{chapter}{-1} +\glsresetall{} % Reset glossary and thus the acronyms % Introduction -\subfile{intro/introduction} -% DSL +\subfile{intro/intro} -\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}% -\label{prt:top} -\subfile{top/mtask} % MTask tutorial and implementation +% Part II +\subfile{top/top} -\part[Transformation: Tiered vs.\ Tierless Programming]{Transformation:\\[2ex]\smaller{}Tiered vs.\ Tierless Programming}% +\part[Tiered versus Tierless Programming]{\\[2ex]\smaller{}Tiered versus Tierless Programming}% \label{prt:tvt} -\subfile{tvt/tvt} % Could Tierless Languages Reduce IoT Development Grief? +\subfile{tvt/tvt} % Could Tierless Languages Reduce IoT Development Grief? +% Conclusion \bookmarksetup{startatroot} % descend back out of the previous part \addtocontents{toc}{\bigskip}% Insert some whitespace to make the TOC better -\subfile{concl/conclusion} +\subfile{coda/coda} % Start appendix \appendix% \label{chp:appendix} \addcontentsline{toc}{part}{Appendix} -\subfile{appx/clean_for_haskell_programmers} +\subfile{appx/c4hp} \subfile{appx/mtask_aux} \subfile{appx/bytecode} @@ -95,7 +100,8 @@ \phantomsection{}% \label{chp:bibliography} \addcontentsline{toc}{chapter}{Bibliography} -\bibliography{other,self,tiot} +\renewbibmacro*{begentry}{\midsentence} +\printbibliography% % Summary \subfile{back/summary} @@ -113,11 +119,7 @@ \subfile{back/curriculum_vitae} % Glossary -\addcontentsline{toc}{chapter}{Glossary}% -\label{chp:glossaries} -\printglossary% -%\printglossary[type=\acronymtype,style=mcolindex]% -\printglossary[type=\acronymtype]% +\printglossary[style=mcolindex]% %% Lists of %\cleardoublepage{}