mirror of https://github.com/CGAL/cgal
121 lines
2.8 KiB
TeX
121 lines
2.8 KiB
TeX
\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{alltt}
|
|
\usepackage{pslatex}
|
|
\usepackage{ifthen}
|
|
|
|
% 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}
|
|
% minitoc and hyperref do not seem to work together so they should not both
|
|
% be true
|
|
\newboolean{useminitoc}
|
|
\setboolean{useminitoc}{true}
|
|
|
|
|
|
\ifthenelse{\boolean{usehyperref}}{
|
|
\usepackage[ps2pdf=true,
|
|
colorlinks=true,
|
|
linkcolor=blue,
|
|
bookmarksnumbered=true,
|
|
pdftitle={CGAL Support Library Manuals},
|
|
pdfkeywords={computational geometry, generic programming,
|
|
algorithms, software library, C++},
|
|
pdfborder={0 0 0}]{hyperref}
|
|
}{}
|
|
|
|
\ifthenelse{\boolean{useminitoc}}{\usepackage{minitoc}}
|
|
{\newcommand{\minitoc}{}}
|
|
|
|
% make chapter numbers start renumbering at 1 with each new part
|
|
\ccNumberChaptersByPart
|
|
|
|
% page dimensions
|
|
% ---------------
|
|
\lcTex{
|
|
\textwidth 15.6cm
|
|
\textheight 23 cm
|
|
\ifthenelse{\boolean{usehyperref}}{}{\topmargin -14mm}
|
|
\evensidemargin 3mm
|
|
\oddsidemargin 3mm
|
|
}
|
|
|
|
% default column layout
|
|
% ---------------------
|
|
\newcommand{\cgalColumnLayout}{\ccTexHtml{%
|
|
\ccSetThreeColumns{CGAL_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
|
|
|
|
\input{ionly}
|
|
\lcTex{\batchmode}
|
|
|
|
\begin{document}
|
|
|
|
\include{Title/main}
|
|
\pagestyle{plain}
|
|
\pagenumbering{roman}
|
|
\setcounter{page}{0}
|
|
\include{Preface/main}
|
|
\cleardoublepage
|
|
\ifthenelse{\boolean{useminitoc}}{\dominitoc}{}
|
|
\tableofcontents
|
|
\cleardoublepage
|
|
\pagenumbering{arabic}
|
|
|
|
\part{User Manual}
|
|
\input{AllMains}
|
|
|
|
\part{Reference Manual}
|
|
|
|
\listofrefpages
|
|
|
|
\input{AllMains_ref}
|
|
|
|
\bibliographystyle{alpha}
|
|
\bibliography{../cgal-manual,geom}
|
|
|
|
|
|
\ccTexHtml{\printindex}{}
|
|
|
|
\end{document}
|