\documentstyle[11pt,makeidx]{report}
             \textheight=660pt 
             \textwidth=15cm
             \topmargin=-27pt 
             \oddsidemargin=0.7cm
             \evensidemargin=0.7cm
             \marginparwidth=60pt

%chap0 Title page, Acknowledgements, Table of Contents, Table of Figures
%chap1 Introduction
%chap2 Data Types
%chap4 Programming
%appendix Useful Macros
%index Index
\def\Figdir{figures/}
\def\Scilab{$\Psi$lab}
%\includeonly{chap0}
%\includeonly{chap1}
%\includeonly{datatypes}
%\includeonly{programming}
%\includeonly{basicprimitives}
%\includeonly{graphics}
%\includeonly{index}

\def\verbatok#1{\expandafter \begin{verbatim}
\input{#1}}

\newcount\quadcount
\def\Nquad#1{\quadcount=0
 \loop\ifnum\quadcount <#1 \advance \quadcount by1 \quad \repeat}

\makeindex

\begin{document}
\include{chap0}
\pagenumbering{arabic}
\include{chap1}
\include{datatypes}
\include{programming}
\include{basicprimitives}
\include{graphics}
\include{intersci}
\include{maple2scilab}

\printindex

\end{document}
