\def\revision{0}

\documentclass{refbase}

\usepackage{makeidx}
\makeindex
\newcommand{\Idx}[1]{\index{#1@\kwd{#1}}}

\begin{document}

%\begin{titlepage}
%\hbox{ }
%\end{titlepage}

\begin{titlepage}
\addtolength{\evensidemargin}{2cm}
\addtolength{\textwidth}{-2.1cm}
% \hbox{~}
% \addvspace{22mm}

\unnumbered{Perl/Tk Pocket Reference}
{\bf for Perl/Tk 800.005 - Perl 5.004 / Tk \tkrev}

\vfill
Perl/Tk designed and created by \\
Nick Ing-Simmons |<nick@ni-s.u-net.com>|

\vfill
Pocket Reference contents written by \\
Steve Lidie |<Stephen.O.Lidie@Lehigh.EDU>|

\vfill%addvspace{13mm}
\unnumbered{Contents}

\tableofcontents
\vfill
{\small {Rev. \tkrev.\revision}}
\end{titlepage}
\clearpage

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%   MAIN BODY
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
{\begingroup\catcode`\<=\active
\def<{\leavevmode\italicizerest}
\def\italicizerest#1>{{\it{#1}}}
 
\setcounter{page}{2}

\unnumbered{Conventions}

\begin{enum}{2cm}

\Xi{|fixed|} denotes literal text.

\Xi{<this>} means variable text, i.e. things you must fill in.

\Xi{\kwd{word}} is a keyword, i.e. a word with a special meaning.

% \Xi{\fbox{<ret>}} denotes pressing a keyboard key.

\Xi{?\ldots?} denotes an optional part.

\end{enum}

\input reftk.tex

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%   INDEX
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\input refbase.ind

%% \newpage
%% 
%% \unnumbered{Notes}
%% \vfill
%% \makebox[\textwidth]{Perl/Tk Pocket Reference Revision \refrev \hfill
%% \copyright 1989,1998}

\end{document}
