Merge branch 'master' of git.martlubbers.net:msc-thesis1617
[msc-thesis1617.git] / thesis.tex
index 2123c65..63d3f92 100644 (file)
@@ -1,31 +1,99 @@
 %&thesis
-\usepackage[xindy={codepage=utf-8},nonumberlist,acronyms]{glossaries}     % Acronyms
+\usepackage[nonumberlist]{glossaries}  % Glossaries and acronyms
+\usepackage[algochapter]{algorithm2e}             % Pseudocode
+
+% Fix the algorithm font
+\renewcommand\AlCapFnt{\normalfont}
+
+% Initialize the glossaries
 \makeglossaries%
-\newacronym{sds}{SDS}{Shared Data Source}
+\input{glossaries}
+
 \begin{document}
-\maketitleru[
-       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}]
-\listoftodos[Todo]
+\frontmatter{}
 
-\input{abstract.tex}
+%Titlepage
+\input{titlepage}
 
+%Abstract
+\chapter*{\centering Abstract}
+\addcontentsline{toc}{chapter}{Abstract}
+\begin{quotation}
+       \centering\noindent
+       \input{abstract}
+\end{quotation}
+
+%Acknowledgements
+\chapter*{\centering Acknowledgements}
+\addcontentsline{toc}{chapter}{Acknowledgements}
+\begin{quotation}
+       \centering\it\noindent
+       \input{acknowledgements}
+\end{quotation}
+
+%Table of contents
 \tableofcontents
 
-\printglossaries%
-\chapter{Introduction}
-\chapter{Methods}
-\chapter{Results}
-\chapter{Conclusion \& Discussion}
+\mainmatter{}
+
+%Reset glossary and thus the acronyms
+\glsresetall{}
+
+\chapter{Introduction}\label{chp:introduction}
+\input{intro}
+
+\chapter{Task Oriented Programming}\label{chp:top}
+\input{top}
+
+\chapter{Embedded Domain Specific Languages}\label{chp:dsl}
+\input{edsl}
+
+\chapter[The mTask-EDSL]{The \gls{mTask}-\gls{EDSL}}\label{chp:mtask}
+\input{mtask}
 
-\begin{appendices}
-       \chapter{Communication protocol}
-       \input{appendix-protocol.tex}
-\end{appendices}
+\chapter[System Overview]{System Overview}\label{chp:system}
+\input{system}
 
+\chapter[Extending the mTask EDSL]%
+       {Extending the \gls{mTask} {EDSL}}\label{chp:mtaskcont}
+\input{mtaskext}
+
+\chapter{System Considerations \& Implementation}\label{chp:arch}
+\input{arch}
+
+\chapter{Discussion \& Conclusion}\label{chp:conclusion}
+\input{conclusion}
+
+\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}
+\begingroup
+\let\clearpage\relax
+\let\cleardoublepage\relax
+\listoffigures%
+\listoftables%
+\listofalgorithms%
+\lstlistoflistings%
+\endgroup
+
 \end{document}