
%\documentstyle[screen]{book}
\documentstyle[twoside,a4]{report}

% use for A4
\hoffset -3.5mm

% use for letter
%\voffset 1cm

\input regina.sty

\newif\ifdrft\drftfalse

%
%  The Regina Rexx Interpreter
%  Copyright (C) 1992-1994  Anders Christensen <anders@pvv.unit.no>
%

\makeindex

\begin{document}

%   \setlength{\parskip}{\baselineskip}
%   \advance\parskip by -6pt
%   \setlength{\topsep}{0mm}
%   \setlength{\parsep}{0mm}
%   \setlength{\partopsep}{0mm}
\raggedbottom

\title{\bf The Regina Rexx Interpreter}
\author{Anders Christensen {\tt <anders@pvv.unit.no>}\\
        Norwegian Institute of Technology\\
        University of Trondheim}
\date{\today}


%\setcounter{tocdepth}{4}
\setcounter{secnumdepth}{4}
\newtheorem{example}{Example}[chapter]
\setlength{\partopsep}{0mm}

\pagestyle{headings}
\def\markit#1{}

\def\rexx{{\sc Rexx}}
\def\trl{``The REXX Language''}

\def\regina{{\sc Regina}}\def\ReginaVersion{0.05h}
\def\arexx{ARexx}\def\ARexxVersion{1.15}
\def\brexx{BRexx}\def\brexxversion{1.0b}

\def\cmnt#1{\ifdrft{\marginpar{\small\sf
            \hbox{\raggedright\noindent #1}}}\fi}
\def\comment#1{\ifdrft{\marginpar{\small\it
            \hbox{\parbox{1in}{\raggedright\noindent #1}}}}\fi}

\def\refer#1{ (see\ \ref{#1}, p.\ \pageref{#1})}
\def\chrefer#1{chapter \ref{#1}, p.\ \pageref{#1}}


%%\def\TTIDX#1#2{{\tt #1}\index{#1@{\tt #1}|#2}}
\def\ttidx#1{{\tt #1}\index{#1@{\tt #1}}}
%%\def\idx#1{#1\index{#1}}

\def\heading#1#2{\bigskip\medskip\centerline{{\large\tt #1}\hfill}}

{\toks0=\expandafter{\index}%
 \global\edef\indx{\the\toks0}%
 \global\def\index#1{\indx{#1}\cmnt{#1}}}

\newcommand{\ttindex}[1]{\indx{#1@{\protect\ptt #1}}\ifdrft{\cmnt{\tt #1}}\fi}
\newcommand{\indeks}[1]{\indx{#1}\ifdrft{\cmnt{#1}}\fi}

\def\stopidx#1{\indx{#1)}\cmnt{#1]}}
\def\startidx[#1]#2{\indx{#2(#1}\cmnt{[#2}}

\newcommand{\builtin}[1]{
   \subsubsection{\tt #1}}
%   \addcontentsline{toc}{subsubsection}{\tt #1}}

\def\rexxfunc{REXX standard function}
\def\debug{Interpreter debugging function}
\def\unix{UNIX interface function}
\def\cms{CMS compatibility function}

\def\soapbox{}
\def\locality{}
\def\unhappy{}

\maketitle
\hbox{}\setcounter{page}{0}\thispagestyle{empty}\newpage

%\def\index#1{${}^\bullet$}


% \section*{Trademarks}
%
% {\bf Unix} is a registered trademark of UNIX System Laboratories, Inc.
%
% {\bf MS-DOS} is a registered trademark of Microsoft Corporation.
%
% {\bf IBM} and {\bf VM/CMS} are registered trademarks of International 
%   Business Machines Corporation 
%
% {\bf Amiga} is a registered trademark of Commodore-Amiga Inc.
%
%\clearpage



%\label{ch:commands}
%\label{ch:parsing}



{\setlength{\parskip}{0mm}\tableofcontents}


\cleardoublepage\include{syntax}
\cleardoublepage\include{funcs}
\cleardoublepage\include{condit}
\cleardoublepage\include{fileio}
\cleardoublepage\include{extend}
%\include{misc}
\cleardoublepage\include{stack}
\cleardoublepage\include{interface}
\cleardoublepage\include{limits}



\cleardoublepage\include{defs}

\appendix

\cleardoublepage
\addtocounter{chapter}{1}
\nocite{*}
\addcontentsline{toc}{chapter}{\protect\numberline{\thechapter}{Bibliografi}}
\bibliography{regina}
\bibliographystyle{alpha}

\cleardoublepage
{
   \def\bold#1{{\bf #1}}
   \def\see#1#2{{\it see\/ #1}}
   \input{regina.ind}
}

\end{document}



