%&thesis
-\usepackage[nonumberlist,acronyms]{glossaries}
+\usepackage[nonumberlist]{glossaries} % Glossaries and acronyms
+\usepackage[]{algorithm2e} % Pseudocode
\makeglossaries%
-\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}
-\newacronym{LTN}{LTN}{Low Throughput Network}
-\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}}
-\newglossaryentry{C}{name=C,
- description={is low-level programming language suitable for embedded devices}}
+\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}]
+\input{titlepage}
\listoftodos[Todo]
+\glsaddall{}
+
%Abstract
+\addcontentsline{toc}{chapter}{Abstract}
\chapter*{\centering Abstract}
\begin{quotation}
\centering\noindent
- \input{abstract.tex}
+ \input{abstract}
\end{quotation}
+\addcontentsline{toc}{chapter}{Acknowledgements}
\chapter*{\centering Acknowledgements}
\begin{quotation}
\centering\it\noindent
- \input{acknowledgements.tex}
+ \input{acknowledgements}
\end{quotation}
%Table of contents
\tableofcontents
-%Glossaries
-\glsaddall{}
+\addcontentsline{toc}{chapter}{Glossaries \& Acronyms}
\printglossaries%
\mainmatter{}
+\glsresetall{}
\chapter{Introduction}\label{chp:introduction}
-\input{introduction.tex}
+\input{introduction}
+
+\chapter{Task Oriented Programming}\label{chp:top}
+\input{methods.top}
+
+\chapter{Embedded Domain Specific Language}\label{chp:dsl}
+\input{methods.dsl}
+
+\chapter{mTask}\label{chp:mtask}
+\input{methods.mtask}
-\chapter{Methods}\label{chp:methods}
-\input{methods.tex}
+\chapter{Architecture}\label{chp:arch}
+\input{results.arch}
+
+\chapter{mTask continued}\label{chp:mtaskcont}
+\input{results.mtask}
+
+\chapter{iTasks}\label{chp:itasksint}
+\input{results.itasks}
-\chapter{Results}\label{chp:results}
\chapter{Conclusion \& Discussion}\label{chp:conclusion}
+\input{conclusion}
-\appendix\label{chp:appendix}
-\chapter{Planning}\label{app:planning}
-\input{appendix-planning.tex}
+\appendix%
+\label{chp:appendix}
\chapter{Communication protocol}\label{app:communication-protocol}
-\input{appendix-protocol.tex}
+\input{appendix-protocol}
\chapter{Device client interface}\label{app:device-interface}
-\input{appendix-device-interface.tex}
-
-\lstlistoflistings{}
-\listoffigures{}
-\listoftables{}
+\input{appendix-device-interface}
+\cleardoublepage{}
+\phantomsection{}
+\addcontentsline{toc}{chapter}{Bibliography}
\bibliographystyle{ieeetr}
\bibliography{thesis}
+
+\cleardoublepage{}
+\phantomsection{}
+\addcontentsline{toc}{chapter}{Lists of \ldots}
+\begingroup
+\let\clearpage\relax
+\listoffigures%
+\listoftables%
+\lstlistoflistings%
+\listofalgorithms%
+\endgroup
+
\end{document}