\makeglossaries%
\newacronym{GADT}{GADT}{Generalized Algebraic Datatype}
+\newacronym{GPIO}{GPIO}{General-Purpose Input/Output}
\newacronym{ADT}{ADT}{Algebraic Datatype}
\newacronym{SDS}{SDS}{Shared Data Source}
\newacronym{IoT}{IoT}{Internet of Things}
\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}}
righttext={prof.~dr.~dr.h.c.~ir.~M.J.~Plasmeijer\\dr.~P.W.M.~Koopman}]
\listoftodos[Todo]
+\glsaddall{}
+
%Abstract
\chapter*{\centering Abstract}
\begin{quotation}
%Table of contents
\tableofcontents
-%Glossaries
-\glsaddall{}
-\printglossaries%
-
\mainmatter{}
-\glsresetall
+\glsresetall{}
\chapter{Introduction}\label{chp:introduction}
\input{introduction.tex}
\input{methods.tex}
\chapter{Results}\label{chp:results}
+\input{results.tex}
+
\chapter{Conclusion \& Discussion}\label{chp:conclusion}
+\input{conclusion.tex}
\appendix\label{chp:appendix}
+
\chapter{Planning}\label{app:planning}
\input{appendix-planning.tex}
\chapter{Device client interface}\label{app:device-interface}
\input{appendix-device-interface.tex}
+\cleardoublepage{}
+\phantomsection{}
+\addcontentsline{toc}{chapter}{Lists of \ldots}
+\begingroup
+\let\clearpage\relax
+\listoffigures
+\listoftables
\lstlistoflistings{}
-\listoffigures{}
-\listoftables{}
+\endgroup
+
+\cleardoublepage{}
+\addcontentsline{toc}{chapter}{Glossaries \& Acronyms}
+
+\begingroup
+\let\clearpage\relax
+\let\cleardoublepage\relax
+\printglossaries%
+\endgroup
\bibliographystyle{ieeetr}
\bibliography{thesis}