%&thesis
-\usepackage[toc,nonumberlist,acronyms]{glossaries}
+\usepackage[nonumberlist,acronyms]{glossaries}
\makeglossaries%
\newacronym{GADT}{GADT}{Generalized Algebraic Datatype}
\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}}
\tableofcontents
\mainmatter{}
-\glsresetall
+\glsresetall{}
\chapter{Introduction}\label{chp:introduction}
\input{introduction.tex}
\chapter{Device client interface}\label{app:device-interface}
\input{appendix-device-interface.tex}
-\cleardoublepage
-\phantomsection
-\addcontentsline{toc}{chapter}{\listfigurename}
+\cleardoublepage{}
+\phantomsection{}
+\addcontentsline{toc}{chapter}{List of \ldots}
+\begingroup
+\let\clearpage\relax
\listoffigures
-
-\phantomsection
-\addcontentsline{toc}{chapter}{\listtablename}
\listoftables
-
\lstlistoflistings{}
+\endgroup
+
+\cleardoublepage{}
+\addcontentsline{toc}{chapter}{Glossaries \& Acronyms}
+
+\begingroup
+\let\clearpage\relax
+\let\cleardoublepage\relax
\printglossaries%
+\endgroup
\bibliographystyle{ieeetr}
\bibliography{thesis}