\documentclass[12pt]{article}

\usepackage{color}
\usepackage{hyperref}
\usepackage{textcomp}
\usepackage{booktabs}
\usepackage{multirow}

% Smaller margins
\usepackage[left=1.5cm,top=2cm,right=1.5cm,nohead,nofoot]{geometry}

% Remove boxes from hyperlinks
\hypersetup{
    colorlinks,
    linkcolor=blue,
}

\usepackage{listings}
\lstnewenvironment{code}{
	\lstset
		{language=Haskell
		,basicstyle=\footnotesize\tt
		,showstringspaces=false
		,frame=single
		,upquote=true
		}}
		{}

\long\def\ignore#1{}

\makeindex

\begin{document}

\addcontentsline{toc}{section}{Contents}
\tableofcontents

\input{DBus/Bus/Address.lhs}
\input{DBus/Bus/Connection.lhs}
\input{DBus/Bus.lhs}
\input{DBus/Types.lhs}
\input{DBus/Message.lhs}
\input{DBus/Protocol/Marshal.lhs}
\input{DBus/Protocol/Unmarshal.lhs}
\input{DBus/Protocol/Padding.lhs}

\end{document}
