%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% ws-book9x6.tex   :   2 January 2003
%% TeX Driver file for Book Trim Size [9in x 6in] to use with 
%% ws-book9x6.cls written in Latex2E.
%%
%% The content, structure, format and layout of this style file is the 
%% property of World Scientific Publishing Co. Pte. Ltd. 
%% Copyright 1995, 2002 by World Scientific Publishing Co. 
%% All rights are reserved.
%%
%% Book Trim Size: 9in x 6in
%% Text Area: 7.35in (include runningheads) x 4.5in
%% Main Text is 10/13pt					  
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%\documentclass[draft]{ws-book9x6}  
\documentclass{ws-book9x6}        

\usepackage{makeidx}

\makeindex

\begin{document}

% ==========================================================
% Table Fix From rajesh@wspc.com.sg Thu Feb 05 01:16:52 2004

\makeatletter
\long\def\@makecaption#1#2{%
  \figurecaptionfont
  \vskip\abovecaptionskip
  \sbox\@tempboxa{#1 #2}%
  \ifdim \wd\@tempboxa >\hsize
    #1 #2\par
  \else
    \global \@minipagefalse
    \hbox to \hsize{\hfil\box\@tempboxa\hfil}%
  \fi
  \vskip\belowcaptionskip}
\makeatother

% ===========================================================

%%%%%%%%%%%%%% Please do not remove these lines %%%%%%%%%%%%%%%%%%%%%
% \titlepages %pls. leave this as it is. 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% \begin{preface}
% \input preface.tex    
% \end{preface}

%%%%%%%%%%%%%%%%%%%% GENERATE OUT THE TOC FILE %%%%%%%%%%%%%%%%%%%%%
% \begin{tblofcontents}
%%%%% Need not to input any data here. 
%%%%% System will input automatically.
% \end{tblofcontents}
%%%%%%%%%%%%%%%%%%%% GENERATE OUT THE TOC FILE %%%%%%%%%%%%%%%%%%%%%

\setcounter{page}{1}

% \input chapter1.tex

% \begin{appendix}
% \input spfct.tex
% \end{appendix}

\input bibliography.tex

% \printindex

\end{document}

%% PLEASE READ THE STEPS HERE TO 
%% GENERATE OUT THE INDEX TEXT:-
(1) latex ws-book9x6 (compile 2 or 3 times till 
                      the cross-references are clear)

(2) makeindex ws-book9x6

(3) latex ws-book9x6     (compile twice)

