\documentclass{book}

\usepackage{cprog}
\usepackage{cc_manual}
\usepackage{cc_manual_index}
\usepackage{makeidx}
\usepackage{latex_converter}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{path}
\usepackage{ipe}
\usepackage{longtable}
\usepackage{pslatex}
\usepackage{ifthen}

\lcTex{
% set this to true for generating the pdf version of the manual (using
% ps2pdf from ghostscript).  If this is true when creating postscript,
% the table of contents (and several other things) will be blue.
\newboolean{usehyperref}
\setboolean{usehyperref}{false}

\ifthenelse{\boolean{usehyperref}}{
\usepackage[ps2pdf=true,
            colorlinks=true,
            linkcolor=blue,
            bookmarksnumbered=true,
            pdftitle={General Introduction to CGAL},
            pdfkeywords={computational geometry, generic programming,
                         algorithms, software library, C++},
            pdfborder={0 0 0}]{hyperref}
}{}
}

\lcTex{
% page dimensions
% ---------------
\textwidth 15.6cm 
\textheight 23 cm
\ifthenelse{\boolean{usehyperref}}{}{\topmargin -14mm}
\evensidemargin 3mm 
\oddsidemargin 3mm
}

% default column layout
% ---------------------
% This is the recommended layout. It may be changed inside main.tex.

\newcommand{\cgalColumnLayout}{\ccTexHtml{%
    \ccSetThreeColumns{Oriented_side}{}{\hspace*{8.5cm}}
    \ccPropagateThreeToTwoColumns}{}}

\newcommand{\cgalrelease}{2.2}

\ccDefGlobalScope{CGAL::}
%%%%%%%
%   for the new reference manual style, uncomment the following commands
%
%\marginparsep10mm
%\marginparwidth15mm
%\gdef\ccNewRefManualStyle{\ccTrue}
%
%% The tab marker are aligned with the top of the main text. To align
%% them with the page header, the following length definition can be used.
%\setlength{\ccRefTabLift}{12.5mm}
%
%%%%%%%

% you may also want to use these commands, but be careful to check that
% other redefinitions of ccRefPageBegin and End don't cause strange problems
% (e.g. if ccAdvanced is used to bracket a ref page)
%\def\ccRefPageBegin{\ccParDims\cgalColumnLayout}
%\def\ccRefPageEnd{\ccParDims\cgalColumnLayout}
%


\makeindex

\sloppy
\lcTex{\batchmode}

\begin{document}

\pagestyle{empty}

\begin{titlepage}
\mbox{}
\vskip3cm

\ccTexHtml
{\centerline{\IpeScale{25}\Ipe{../Fig/c-simp.ipe}
  \Ipe{../Fig/g-simp.ipe} \Ipe{../Fig/a-simp.ipe} \Ipe{../Fig/l-simp.ipe}}}
 {<p align=center>
   <img border=0 src=Gif/c-simp.gif align=center alt="Logo C">
   <img border=0 src=Gif/g-simp.gif align=center alt="Logo G">
   <img border=0 src=Gif/a-simp.gif align=center alt="Logo A">
   <img border=0 src=Gif/l-simp.gif align=center alt="Logo L">
   <br>
   <img border=0 src=Gif/cgal.gif align=center
    alt="[Computational Geometry Algorithms Library]">
    <hr>}

\vskip2cm
\centerline{ {\Huge\bf CGAL} {\huge\bf Reference Manual } }
\vskip1cm
\centerline{ {\huge Part 0: General Introduction} }

\vskip2cm
\newcommand{\mydate}{July 1998}
\ccTexHtml
{\renewcommand{\mydate}{\ifcase\the\month \or January\or
    February\or March\or April\or May\or June\or July\or August\or
    September\or October\or November\or December\fi~\the\year}}{}
  \centerline{ {\large Release \cgalrelease, \mydate} }

\end{titlepage}

\pagestyle{plain}
\pagenumbering{roman}
\setcounter{page}{0}

\include{preface}
\cleardoublepage
\tableofcontents

\cleardoublepage
\pagenumbering{arabic}
\setcounter{page}{1}

\cgalColumnLayout

\include{intro}

\include{checks}


%\bibliographystyle{alpha}
%\bibliography{../cgal-manual,geom}

\lcTex{\printindex}
\end{document}

