%%% ----------------------------------------------------------------------

% Document size is specified in Definitions.tex
% See
% usepackage[paperwidth=210mm, paperheight=297mm]{geometry}
%
\documentclass[titlepage,10pt]{book}

%%% ----------------------------------------------------------------------


\include{Definitions}

\loadglsentries{Glossary}
\makeindex
\makeglossaries

%%% ----------------------------------------------------------------------

\begin{document}
\frontmatter

\include{Title}
%%% ----------------------------------------------------------------------
\tableofcontents
\markboth{}{}
%%% ----------------------------------------------------------------------

\include{Preface}
\mainmatter
\include{Chapter01}
\include{Chapter02}
\include{Chapter03}
\include{Chapter04}
\include{Chapter05}
\include{Chapter06}
\include{Chapter07}
\include{Chapter08}
\include{Chapter09}
\include{Chapter10}
\include{Chapter11}
\include{Chapter12}
\newpage
\phantomsection \label{listoffig}
\addcontentsline{toc}{chapter}{List of Figures}
\listoffigures
\newpage
\phantomsection \label{listoftab}
\addcontentsline{toc}{chapter}{List of Tables}
\listoftables
\newpage
\phantomsection \label{listofeq}
\addcontentsline{toc}{chapter}{List of Equations}
\listofmyequations
\newpage
\phantomsection \label{listoflist}
\addcontentsline{toc}{chapter}{Listings}
\lstlistoflistings
%\newpage
\glsaddallunused
\printglossaries
\newpage
\phantomsection \label{index}
%\cleardoublepage
\addcontentsline{toc}{chapter}{\indexname}
\printindex \textbf{}
\end{document}
%%% ----------------------------------------------------------------------
