\documentclass[10pt]{report}

\usepackage{vmargin}
\setpapersize{USletter}
\setmarginsrb{0.5in}{0.5in}{1.25in}{0.5in}{0pt}{0mm}{0pt}{0mm}
\usepackage{longtable}
\usepackage{hyperref}
\usepackage{makeidx}
\usepackage{enumitem}

\title{Condor in the IPP}
\author{S.~Chastel\\Version 0.1}
\date{2011-11-23}

\makeindex

\newcommand{\CondorSubmit}{\texttt{condor\_submit}}
\newcommand{\CondorSubmitDag}{\texttt{condor\_submit\_dag}}

\newcommand{\IppPython}[1]{\texttt{\~{ }ippdor/local/share/python/ipp/{#1}}}

\newcommand{\definition}[3]{%
  %#1: What is displayed in the text
  %#2: What is displayed in the margin
  %#3: Entry in the index
  \emph{#1}\marginpar{\scriptsize #2}%
  \index{#3}%
}

\begin{document}
\maketitle

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\chapter*{Introduction}

This is the documentation detailing how the Condor HTC system is used
to perform processing for the IPP. Note that it is (currently) not
supposed to replace the \texttt{pantasks} scheduling system (mainly
because we choose not to use Condor as a scheduler).

This documentation consists of five parts:
\begin{enumerate}
\item This introduction;
\item Operational Users Manual (page~\pageref{chap-operation}): its
  targets are the operators of the IPP, that is, persons who want to
  use the Condor framework to process data for the IPP;
\item Administration Manual (page~\pageref{chap-adm}): for system
  administrators. Mainly how to install and upgrade the Condor
  framework;
\item Link with the IPP (page~\pageref{chap-ipp}): TODO: Should be
  part of Software Organization;
\item Software Organization (page~\pageref{chap-software}): Design,
  Classes. How to add new features.
\end{enumerate}

\emph{Note:} Be aware that this documentation is not a substitute to
the Condor documentation\definition{}{Condor
  documentation}{Condor!Documentation} which is available from the
Condor Project Homepage\footnote{when this document was released, it
  was:
  \href{http://research.cs.wisc.edu/condor/}{http://research.cs.wisc.edu/condor/}}.

\subsection*{Document History}
\begin{tabular}{|c|c|p{5in}|}
  \hline
  \textbf{Version} & \textbf{Date} & \textbf{Comment} \\
  \hline
  0.1 & 2011-11-23 & First draft \\
  \hline
\end{tabular}

\subsection*{Acronyms}
\begin{longtable}{lp{5in}}
  IPP & Image Processing Pipeline \\
  IWD & Initial Working Directory \\
  RTCM & Read the Condor Manual \\
\end{longtable}

\setcounter{tocdepth}{2}
\tableofcontents

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\input{operations.tex}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\input{administration.tex}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\input{link_ipp.tex}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\input{design.tex}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\input{annex.tex}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\printindex

\end{document}
