\documentclass{article}
\usepackage{fullpage}
\usepackage[utf8]{inputenc}
\usepackage{url}
\usepackage{hyperref}
\usepackage{listings}
\usepackage{xcolor}

\hypersetup{%
  a4paper=true,
  pdfstartview=FitH,
  colorlinks=false,
  pdfborder=0 0 0,
  pdftitle = {Lwt user manual},
  pdfauthor = {Jérémie Dimino},
  pdfkeywords = {OCaml, Lwt, Cooperative threads, Coroutines}
}

\lstset{
  language=[Objective]Caml,
  extendedchars,
  showspaces=false,
  showstringspaces=false,
  showtabs=false,
  basicstyle=\ttfamily,
  frame=l,
  framerule=1.5mm,
  xleftmargin=6mm,
  framesep=4mm,
  rulecolor=\color{lightgray},
  emph={lwt,for\_lwt,try\_lwt,raise\_lwt},
  emphstyle=\color[rgb]{0.627451, 0.125490, 0.941176},
  moredelim=*[s][\itshape]{(*}{*)},
  moredelim=[is][\textcolor{darkgray}]{§}{§},
  escapechar=°,
  keywordstyle=\color[rgb]{0.627451, 0.125490, 0.941176},
  stringstyle=\color[rgb]{0.545098, 0.278431, 0.364706},
  commentstyle=\color[rgb]{0.698039, 0.133333, 0.133333},
  numberstyle=\color[rgb]{0.372549, 0.619608, 0.627451}
}

\title{Lwt user manual}
\author{Jérémie Dimino}

\begin{document}

\maketitle
\tableofcontents

% Remove the \chapter introduced by latex_of_wiki
\newcommand{\chapter}[1]{}

\include{manual-wiki}

\end{document}
