%&thesis
-\usepackage[xindy,nonumberlist,acronyms]{glossaries} % Acronyms
+\usepackage[nonumberlist,acronyms]{glossaries}
\makeglossaries%
-\newacronym{sds}{SDS}{Shared Data Source}
-\newacronym{iot}{IoT}{Internet of Things}
-\newacronym{top}{TOP}{Task Oriented Programming}
+
+\newacronym{GADT}{GADT}{Generalized Algebraic Datatype}
+\newacronym{ADT}{ADT}{Algebraic Datatype}
+\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}
+\newacronym{IDE}{IDE}{Integrated Development Environment}
+\newacronym{TCP}{TCP}{Transmission Control Protocol}
+\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}}
\begin{document}
\frontmatter{}
righttext={prof.~dr.~dr.h.c.~ir.~M.J.~Plasmeijer\\dr.~P.W.M.~Koopman}]
\listoftodos[Todo]
+\glsaddall{}
+
%Abstract
\chapter*{\centering Abstract}
\begin{quotation}
- \centering\it\noindent
+ \centering\noindent
\input{abstract.tex}
\end{quotation}
+\chapter*{\centering Acknowledgements}
+\begin{quotation}
+ \centering\it\noindent
+ \input{acknowledgements.tex}
+\end{quotation}
+
%Table of contents
\tableofcontents
-%Glossaries
-\glsaddall{}
-\printglossaries%
-
\mainmatter{}
-\chapter{Introduction}
+\glsresetall{}
+\chapter{Introduction}\label{chp:introduction}
\input{introduction.tex}
-\chapter{Methods}
+\chapter{Methods}\label{chp:methods}
\input{methods.tex}
-\chapter{Results}
-\chapter{Conclusion \& Discussion}
+\chapter{Results}\label{chp:results}
+\chapter{Conclusion \& Discussion}\label{chp:conclusion}
-\appendix
-\chapter{Communication protocol}
+\appendix\label{chp:appendix}
+\chapter{Planning}\label{app:planning}
+\input{appendix-planning.tex}
+
+\chapter{Communication protocol}\label{app:communication-protocol}
\input{appendix-protocol.tex}
+\chapter{Device client interface}\label{app:device-interface}
+\input{appendix-device-interface.tex}
+
+\cleardoublepage{}
+\phantomsection{}
+\addcontentsline{toc}{chapter}{List of \ldots}
+\begingroup
+\let\clearpage\relax
+\listoffigures
+\listoftables
+\lstlistoflistings{}
+\endgroup
+
+\cleardoublepage{}
+\addcontentsline{toc}{chapter}{Glossaries \& Acronyms}
+
+\begingroup
+\let\clearpage\relax
+\let\cleardoublepage\relax
+\printglossaries%
+\endgroup
+
\bibliographystyle{ieeetr}
\bibliography{thesis}
\end{document}