Merge branch 'master' of git.martlubbers.net:msc-thesis1617
[msc-thesis1617.git] / thesis.tex
index 3a7477e..63d3f92 100644 (file)
@@ -1,75 +1,99 @@
 %&thesis
-\usepackage[nonumberlist,acronyms]{glossaries}
-\makeglossaries%
+\usepackage[nonumberlist]{glossaries}  % Glossaries and acronyms
+\usepackage[algochapter]{algorithm2e}             % Pseudocode
+
+% Fix the algorithm font
+\renewcommand\AlCapFnt{\normalfont}
 
-\newacronym{SDS}{SDS}{Shared Data Source}
-\newacronym{IoT}{IoT}{Internet of Things}
-\newacronym{TOP}{TOP}{Task Oriented Programming}
-\newacronym{EDSL}{(E)DSL}{(Embedded) Design Specific Language}
-\newacronym{RISC}{RISC}{Reduced Instruction Set Computer}
-\newacronym{ARM}{ARM}{Acorn \acrshort{RISC} Machine}
-\newglossaryentry{Clean}{name=Clean,
-       description={is a pure lazy functional programming language based on graph
-               rewriting}}
-\newglossaryentry{iTasks}{name=iTasks,
-       description={is a \acrshort{TOP} implementation written as a \acrshort{EDSL}
-       in the \gls{Clean} programming language}}
-\newglossaryentry{Task}{name=Task,
-       description={is the basic building block of a \acrshort{TOP} system}}
-\newglossaryentry{mTask}{name=mTask,
-       description={is an abstraction for \glspl{Task} living on \acrshort{IoT} devices}}
+% Initialize the glossaries
+\makeglossaries%
+\input{glossaries}
 
 \begin{document}
 \frontmatter{}
 
 %Titlepage
-\maketitleru[
-       pagenr=1,
-       course={Master Thesis},
-       institute={Radboud University Nijmegen},
-       authorstext={Author:},
-       righttextheader={Supervisors:},
-       righttext={prof.~dr.~dr.h.c.~ir.~M.J.~Plasmeijer\\dr.~P.W.M.~Koopman}]
-\listoftodos[Todo]
+\input{titlepage}
 
 %Abstract
 \chapter*{\centering Abstract}
+\addcontentsline{toc}{chapter}{Abstract}
 \begin{quotation}
        \centering\noindent
-       \input{abstract.tex}
+       \input{abstract}
 \end{quotation}
 
+%Acknowledgements
 \chapter*{\centering Acknowledgements}
+\addcontentsline{toc}{chapter}{Acknowledgements}
 \begin{quotation}
        \centering\it\noindent
-       \input{acknowledgements.tex}
+       \input{acknowledgements}
 \end{quotation}
 
 %Table of contents
 \tableofcontents
 
-%Glossaries
-\glsaddall{}
-\printglossaries%
-
 \mainmatter{}
+
+%Reset glossary and thus the acronyms
+\glsresetall{}
+
 \chapter{Introduction}\label{chp:introduction}
-\input{introduction.tex}
+\input{intro}
+
+\chapter{Task Oriented Programming}\label{chp:top}
+\input{top}
+
+\chapter{Embedded Domain Specific Languages}\label{chp:dsl}
+\input{edsl}
 
-\chapter{Methods}\label{chp:methods}
-\input{methods.tex}
+\chapter[The mTask-EDSL]{The \gls{mTask}-\gls{EDSL}}\label{chp:mtask}
+\input{mtask}
 
-\chapter{Results}\label{chp:results}
-\chapter{Conclusion \& Discussion}\label{chp:conclusion}
+\chapter[System Overview]{System Overview}\label{chp:system}
+\input{system}
 
-\appendix\label{chp:appendix}
-\chapter{Communication protocol}\label{app:communication-protocol}
-\input{appendix-protocol.tex}
+\chapter[Extending the mTask EDSL]%
+       {Extending the \gls{mTask} {EDSL}}\label{chp:mtaskcont}
+\input{mtaskext}
 
-\lstlistoflistings{}
-\listoffigures{}
-\listoftables{}
+\chapter{System Considerations \& Implementation}\label{chp:arch}
+\input{arch}
 
+\chapter{Discussion \& Conclusion}\label{chp:conclusion}
+\input{conclusion}
+
+\appendix%
+\label{chp:appendix}
+
+\chapter{Communication Protocol}\label{app:communication-protocol}
+\input{appendix-protocol}
+
+\chapter{Device Client Interface}\label{app:device-interface}
+\input{appendix-device-interface}
+
+% Bibliography
+\phantomsection{}
+\addcontentsline{toc}{chapter}{Bibliography}
 \bibliographystyle{ieeetr}
 \bibliography{thesis}
+
+% Glossary
+\addcontentsline{toc}{chapter}{Glossary}
+\printglossaries%
+
+% Lists of
+\cleardoublepage{}
+\phantomsection{}
+\addcontentsline{toc}{chapter}{Lists of \ldots}
+\begingroup
+\let\clearpage\relax
+\let\cleardoublepage\relax
+\listoffigures%
+\listoftables%
+\listofalgorithms%
+\lstlistoflistings%
+\endgroup
+
 \end{document}