\documentclass[twoside,10pt]{book}

\input{preamble}

% Document info
\title{Some title}
\author{Some author}

% If you want to fix the date: \formatdate{10}{7}{2017}}
\date{\today}

\begin{document}
\frontmatter{}
%\addtitlethumb{Frontmatter}{}{white}{gray}{pagesLTS.0}

%Titlepage
\input{titlepage}
\newpage%
\input{motto}

% Table of contents
\tableofcontents
\newpage%

\input{dedication}

% Reset glossary and thus the acronyms
\glsresetall{}

% The actual document
\mainmatter%
\addthumb{Chapters}{\arabic{chapter}}{white}{gray}

\chapter{Example}%
\label{chp:example}
\input{example}

% Start appendix
\appendix%
\label{chp:appendix}
\addthumb{Appendices}{\Alph{chapter}}{white}{gray}

\chapter{An Appendix}%
\label{chp:an_appendix}
\input{an_appendix}

\chapter{Research Data Management}%
\label{chp:research_data_management}
\input{research_data_management}

\backmatter%
\stopthumb%
% Bibliography
\phantomsection{}%
\label{chp:bibliography}
\addcontentsline{toc}{chapter}{Bibliography}
\bibliographystyle{plain}
\bibliography{thesis}

%% Lists of
%\cleardoublepage{}
%\phantomsection{}%
%\label{chp:listsof...}
%\addcontentsline{toc}{chapter}{Lists of \ldots}
%\begingroup
%\let\clearpage\relax
%\let\cleardoublepage\relax
%\listoffigures%
%\listoftables%
%\listofalgorithms%
%\lstlistoflistings%
%\endgroup

% Abstract
\chapter{Summary}%
\label{chp:summary}
\begin{center}
	\noindent\input{summary}
\end{center}

% Samenvatting
\chapter{Samenvatting}%
\label{chp:samenvatting}
\begin{center}
	\noindent\input{samenvatting}
\end{center}

% Acknowledgements
\chapter{Acknowledgements}%
\label{chp:acknowledgements}
\begin{center}
	\noindent\input{acknowledgements}
\end{center}

\chapter{Research Data Management}%
\label{chp:research_data_management}
\input{research_data_management}

% Curriculum Vitae
\chapter{Curriculum Vit\ae}%
\label{chp:curriculum_vitae}
\input{curriculum_vitae}

% Glossary
\addcontentsline{toc}{chapter}{Glossary}%
\label{chp:glossaries}
\printglossaries%

% Index
\addcontentsline{toc}{chapter}{Index}%
\label{chp:index}
\printindex

\end{document}
