Fix a lot of things following from Jan's comments.
[matthijs/master-project/report.git] / Report.tex
index 765e25da90c108c210eec0116fcbba55db86fcad..849e5836c71ffa3fde6e8baa091aad966c07d48d 100644 (file)
@@ -5,6 +5,11 @@
 % 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
 % 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 {Haskell as a higher order structural hardware description language.}
@@ -25,11 +35,21 @@ Matthijs Kooijman
 \todo{Complete titlepage}
 
 \completecontent
-
+\startfrontmatter
 \input Chapters/Introduction
+\stopfrontmatter
+\startbodymatter
 \input Chapters/Context
 \input Chapters/HardwareDescription
 \input Chapters/Prototype
 \input Chapters/Normalization
 \input Chapters/Future
+\input Chapters/Conclusions
+\stopbodymatter
+\startbackmatter
+\todo{The references are not numbered in this list?}
+\completepublications
+\stopbackmatter
 \stoptext
+
+% vim: set sw=2 sts=2 expandtab: