\documentclass[paper=a4, twoside=false, fontsize=12pt, parskip=half,
                bibliography=totoc, listof=totoc]{scrbook}

% General packages
\usepackage{sourdough}

% Basic attributes
\author{Hendrik Kleinwächter}
\title{The Sourdough Framework}

\begin{document}
\input{cover/cover.tex}
\titlepage

\frontmatter
{%
\hypersetup{hidelinks}
\ifdefined\HCode\else\tableofcontents\fi
}

\input{intro/foreword}
\input{intro/preface}
\input{intro/acknowledgements}

\mainmatter

\input{history/sourdough-history}

\input{basics/how-sourdough-works}

\input{sourdough-starter/sourdough-starter}

\input{sourdough-starter/sourdough-starter-types}

\input{flour-types/flour-types}

\chapter{Bread types}
\input{bread-types/bread-types}

\chapter{Wheat sourdough}%
\label{chapter:wheat-sourdough}
\input{wheat-sourdough/wheat-sourdough}

\chapter{Non wheat sourdough}%
\label{chapter:non-wheat-sourdough}
\input{non-wheat-sourdough/non-wheat-sourdough}

% \input{mix-ins/mix-ins.tex}
\chapter{Baking}%
\label{chapter:baking}
\input{baking/baking}

\chapter{Storing bread}%
\label{chapter:storing-bread}
\input{storing-bread/storing-bread}

\chapter{Troubleshooting}
\input{troubleshooting/misc}

\backmatter
\printbibliography
{%
\hypersetup{hidelinks}
\listofflowcharts
\listoftables
\listoffigures
}

\end{document}
