%\documentclass[]{article}
\documentclass[]{book}

\usepackage{amssymb}
\usepackage{latexsym}
\usepackage{alltt}
\usepackage{makeidx}
\usepackage{cc_manual}
\usepackage{latex_converter}
\usepackage{graphicx}
\usepackage{cprog}
\usepackage{nonlinkedpath}
\usepackage{path}

% page dimensions, for example as used for the CGAL manuals
% ---------------------------------------------------------
\textwidth 15.6cm
\textheight 23cm
\topmargin -14mm
\evensidemargin 3mm
\oddsidemargin 3mm
\sloppy

% let HTML converter know it is dealing with a manual in multiple parts
\ccMultiplePartsToc
% make chapters start over at 1 for each part
\ccNumberChaptersByPart

\makeindex
%\marginparsep7mm
%\marginparwidth15mm
\gdef\ccNewRefManualStyle{\ccTrue}
\ccDefGlobalScope{CGAL::}

% The tab marker are aligned with the top of the main text. To align
% them with the page header, the following redefinition of the actual
% formatting command can be used.
\setlength{\ccRefTabLift}{12.5mm}


\newcommand{\cgalColumnLayout}{% example setting of the CGAL manuals
    \ccSetThreeColumns{CGAL_Oriented_side}{}{\hspace*{8.5cm}}%
    \ccPropagateThreeToTwoColumns
}
\cgalColumnLayout

\def\ccRefPageBegin{\ccParDims\cgalColumnLayout}
\def\ccRefPageEnd{\ccParDims\cgalColumnLayout}

\begin{document}

\part{User Manual}
\input{test_chaps/user_chap1}
\input{test_chaps/user_chap2}

\part{Reference Manual}
\input{test_chaps/ref_chap1}
\input{test_chaps/ref_chap2}

\input{test_chaps/part3}

\printindex

\end{document}
