%&thesis
\usepackage[nonumberlist]{glossaries} % Glossaries and acronyms
\usepackage[algochapter]{algorithm2e} % Pseudocode
+
+% Fix the algorithm font
\renewcommand\AlCapFnt{\normalfont}
+% Initialize the glossaries
\makeglossaries%
\input{glossaries}
%Titlepage
\input{titlepage}
-\glsaddall{}
-
%Abstract
\chapter*{\centering Abstract}
\addcontentsline{toc}{chapter}{Abstract}
\input{abstract}
\end{quotation}
+%Acknowledgements
\chapter*{\centering Acknowledgements}
\addcontentsline{toc}{chapter}{Acknowledgements}
\begin{quotation}
\end{quotation}
%Table of contents
-%\begingroup
-%\let\cleardoublepage\clearpage
\tableofcontents
-%\endgroup
\mainmatter{}
+
+%Reset glossary and thus the acronyms
\glsresetall{}
+
\chapter{Introduction}\label{chp:introduction}
\input{intro}
\chapter{Discussion \& Conclusion}\label{chp:conclusion}
\input{conclusion}
-\appendix\label{chp:appendix}
+\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}
\let\cleardoublepage\relax
\listoffigures%
\listoftables%
-\lstlistoflistings%
\listofalgorithms%
+\lstlistoflistings%
\endgroup
\end{document}