\overfullrule=1mm
% Just for the todonotes, can go when it's finished
-\usepackage{todonotes}
+\usepackage[disable]{todonotes}
\setuptodonotes{
backgroundcolor=white,
linecolor=black,
size=scriptsize,
}
+%\newcommand{\todo}[2][1]{1}
+%\newcommand{\listoftodos}{}
% Document info
\title{\mytitle{} --- \mysubtitle{}}
\frontmatterfancy%
%Titlepage
-\subfile{frontmatter/titlepage}
+\subfile{front/titlepage}
\newpage%
% Epigraph/motto
-\subfile{frontmatter/motto}
+\subfile{front/motto}
% Table of contents
-%\setcounter{tocdepth}{1}
+\setcounter{tocdepth}{1}
\tableofcontents
-\todo{reduce tocdepth to 1 before finishing}
\todo{to reduce the size: make listings font smaller}
\newpage%
% Dedication
-\subfile{frontmatter/dedication}
-
-\listoftodos%
+\subfile{front/dedication}
% Reset glossary and thus the acronyms
\glsresetall{}
\setcounter{chapter}{-1}
% Introduction
-\subfile{introduction/introduction}
+\subfile{intro/introduction}
% DSL
-\mypart{prt:dsl}{Prelude}{Domain-Specific Languages}%
-
-% 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}
-
-% Stack computations?
-\subfile{domain-specific_languages/strongly-typed_multi-view_stack-based_computations}
-
-\mypart{prt:top}{Exposition}{Task-Oriented Programming for the Internet of Things}%
-
-\subfile{mtask/mtask}
+\part[Prelude: Domain-Specific Languages]{Prelude:\\[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
-\mypart{prt:tvt}{Transformation}{Tiered vs.\ tierless programming}%
+\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
-\subfile{tiered_vs._tierless_programming/smart_campus}
+\part[Transformation: 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{conclusion/conclusion}
+\subfile{concl/conclusion}
% Start appendix
\appendix%
\label{chp:appendix}
\addcontentsline{toc}{part}{Appendix}
-\subfile{appendix/clean_for_haskell_programmers}
-\subfile{appendix/mtask_aux}
-\subfile{appendix/bytecode}
+\subfile{appx/clean_for_haskell_programmers}
+\subfile{appx/mtask_aux}
+\subfile{appx/bytecode}
\backmatter%
\backmatterfancy%
\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}%