\input{version.tex}
\def\formmajorversion{\repomajorversion}
\def\formminorversion{\repominorversion}
\def\formdate{\repodate}
%begin{latexonly}  % To avoid latex2html/latex2html#37
\providecommand{\repodate}{\today}
%end{latexonly}


\documentclass[11pt]{report}
\usepackage{makeidx}

%begin{latexonly}

\makeatletter
\renewcommand*\l@section{\@dottedtocline{1}{1.5em}{3.0em}}
\makeatother

% Use hyperref package (hyperlinks) with correct option for pdflatex/latex:
\usepackage{ifpdf}
\ifpdf
\RequirePackage[pdftex]{hyperref}
\else
\RequirePackage[hypertex]{hyperref}
\fi
% and link indices back to text:
\hypersetup{hyperindex,pagebackref,pdfpagemode={None},draft=false} 

%end{latexonly}

\providecommand{\texorpdfstring}[2]{#1}% htmlonly

\newcommand{\pfill}{\hfill}
\newcommand{\emptypage}{\newpage \thispagestyle{empty} \tiny{.} \normalsize}
\newcommand{\lefttabitem}[1]{\noindent{\begin{minipage}[t]{4cm}{#1}
\end{minipage}}\vspace{1mm}}
\newcommand{\leftvitem}[2]{\noindent{\begin{minipage}[t]{#1}{#2}
\end{minipage}}\vspace{1mm}}
\newcommand{\tabitem}[1]{{\begin{minipage}[t]{12cm}{#1}\end{minipage}}
    \vspace{1mm}}
\newcommand{\rightvitem}[2]{{\begin{minipage}[t]{#1}{#2}\end{minipage}}
    \vspace{1mm}}
\newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}\cleardoublepage}}

\textheight 655pt      % Height of text (including footnotes and figures,
                       % excluding running head and foot).
                       % Note 1cm = 28.453pt
\textwidth 16.5cm      % Width of text line.
%
% Need to move the origin on the page to centre the block of text:
%
\hoffset -2.15cm  \voffset -1.7cm    % settings good for IBM 3812 printer

\def\FORM{{\sc FORM}}
\def\TFORM{{\sc TFORM}}
\def\ParFORM{{\sc ParFORM}}
\def\Andre#1{{\sl #1}}
\def\Remark#1{{\sl #1}}
\def\Tr{{\rm Tr}}
\def\hash{\symbol{"23}}
\def\sign(#1){(\!-\!1)^{#1}}
\def\binom(#1,#2){ (\!\!
	 \begin{array}{c} #1 \\ #2 \end{array}\!\! ) }
\def\plus{\!+\!}
\def\minus{\!-\!}
\def\mydot{\!\!\cdot\!}
\def\nn{\nonumber \\ &&}
\def\nne{\nonumber \\ & = &}

\makeindex

\begin{document}
\begin{titlepage}
\title{\Huge FORM \\ \Large version 4.2 \\ \huge Reference manual}
\date{\formdate}
\author{J.A.M.~Vermaseren, T.~Kaneko, J.~Kuipers, B.~Ruijl, M.~Tentyukov, T.~Ueda and J.~Vollinga}
\end{titlepage}
\maketitle
%\clearemptydoublepage
%\pagenumbering{roman}
%\setcounter{page}{1}
%\clearemptydoublepage
%\tableofcontents
%%\emptypage
%\clearemptydoublepage
%\pagenumbering{arabic}

\setcounter{page}{2}
\clearemptydoublepage
\emptypage
\clearemptydoublepage
\pagenumbering{roman}
\setcounter{page}{1}
\clearemptydoublepage
\tableofcontents
\clearemptydoublepage
\emptypage
\clearemptydoublepage
\pagenumbering{arabic}
\setcounter{page}{1}

\input{./startup}
\input{./variable}
\input{./prepro}
\input{./module}
\input{./pattern}
\input{./dollar}
\input{./statements}
\input{./functions}
\input{./bracket}
\input{./optim}
\input{./polynomials}
\input{./tablebas}
\input{./dict}
\input{./gamma}
\input{./metric}
\input{./sorting}
\input{./setup}
\input{./parallel}
\input{./external}
\input{./spectators}
\input{./diagrams}

\printindex

\end{document}
