\documentclass[english,a4paper,11pt,oldtoc,mctitle]{rapport3}
\input{macros}

% For including some files from articles
\newcommand{\xchapter}[1]{\chapter{#1}}
\newcommand{\xsection}[1]{\section{#1}}
\newcommand{\xsectionstar}[1]{\section*{#1}}
\newcommand{\xsubsection}[1]{\subsection{#1}}


\title{Configuring and extending Ion3 with Lua}
\author{Tuomo Valkonen \\ tuomov at iki.fi}
\date{2007-02-03}

\makeindex


\begin{document}

\maketitle

Configuring and extending Ion3 with Lua\\
Copyright \copyright\  2003--2005 Tuomo Valkonen.

This document is free; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This document is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
chapter entitled ''GNU General Public License'' for more details.

\tableofcontents

\input{confintro}

\input{prelim}

\input{conf}

\input{de}

\input{tricks}

\input{fnref}

\appendix

\input{gpl}

\input{fullhierarchy}

\chapter*{List of functions}
\markboth{\MakeUppercase{List of functions}}%
         {\MakeUppercase{List of functions}}%

%begin{latexonly}
\makeatletter
\def\fnlisti#1{\@dottedtocline{1}{0em}{1.5em}{\lstinline!#1!}{\pageref{fn:#1}}}
{\parskip\z@\input{fnlist}}
\makeatother
%end{latexonly}

\begin{htmlonly}
\newcommand{\fnlisti}[1]{\fnref{#1}\\}
\input{fnlist}
\end{htmlonly}

\printindex

\end{document}
