\mainlanguage [en]
\setuppapersize[A4][A4]
+\setuppagenumbering[alternative=doublesided]
+% Enable interaction (clickable links), but don't use special link colors or a
+% bold style.
+\setupinteraction[state=start,color=,contrastcolor=,style=normal]
+% Enable interaction in the table of contents as well
+\setupcombinedlist[content][interaction=all]
+
+% Use bibtex
+\usemodule[bib]
+\setupbibtex[database=Report]
+\setuppublications[numbering=yes]
\input Utils/Fonts
\input Utils/Formats
\input Utils/Lambda
\input Utils/Shortcuts
+\input Utils/Metapost
+\input Utils/Fixme
\usetypescript [Custom]
% Use our custom typeface
\switchtotypeface [Custom] [10pt]
+% Reducing margins (or actually, the spacing in which the margins end up) for
+% 2-up printing and increase font size slightly.
+%\setuplayout[backspace=2cm,width=middle,topspace=1cm,bottomspace=1cm,height=middle]
+%\switchtotypeface [Custom] [10pt]
+
\starttext
-% TODO: Proper title page
-\title {From Haskell to Hardware - a Master's thesis}
-Matthijs Kooijman
+\input Titlepage
\completecontent
-\chapter{Introduction}
+\startfrontmatter
+\input Chapters/Introduction
+\stopfrontmatter
+\startbodymatter
+\input Chapters/Context
\input Chapters/HardwareDescription
+\input Chapters/Prototype
\input Chapters/Normalization
-\input Chapters/State
+\input Chapters/Future
+\input Chapters/Conclusions
+\stopbodymatter
+\startbackmatter
+\completepublications
+\stopbackmatter
\stoptext
+
+% vim: set sw=2 sts=2 expandtab: