\input{chapters/0-info.tex}
\input{style/style.tex}
\input{style/title.tex}
\input{chapters/0-abbr.tex}

\def\code#1{\texttt{#1}}

\begin{document}
\counterwithout{listing}{chapter}

%----------------------------------------------------------------------------------------
%	TITLE PAGE
%----------------------------------------------------------------------------------------

\input{style/title_headers.tex}
\maketitle
\newpage

\input{chapters/0-abstract_fi.tex}
\input{chapters/0-abstract_en.tex}
\input{style/toc.tex}
\input{style/abbr.tex}
\input{style/content.tex}%reset page number to 1, etc.

% Chapters
\input{chapters/1-johdanto.tex}
\input{chapters/2-kielet.tex}
\input{chapters/3-projekti.tex}
\input{chapters/4-tulokset.tex}
\input{chapters/5-yhteenveto.tex}
%%%%%%%%%%

\input{style/biblio.tex}
\input{style/appendix.tex}
\addtocontents{toc}{\vspace{11pt}}
\pretocmd{\chapter}{\addtocontents{toc}{\protect\vspace{-24pt}}}{}{}

\liite{1}% This is a hack to have right page numbering for each appendix. Make sure to use a unique number for each appendix.
\end{document}
