% tibetan.sty by Ross Moore <ross@mpce.mq.edu.au> $
%% $Log: 
%
% LaTeX2e package interface for ...
%
%  Indica pre-processor, and sinhala fonts:  sinha, sinhb, sinhc
%   by Yannis Haralambous <Yannis.Haralambous@univ-lille1.fr>
%
%  and the  sinhala.sty  package for LaTeX-2e, 
%   by Dominik Wujastyk <D.Wujastyk@ucl.ac.uk>
%
%  extended for Prasad Dharmasena's <pkd@isr.umd.edu> 
%  `samanala'  transliteration scheme
%    by Vasantha Saparamadu <vsaparam@ocs.mq.edu.au>
%
% These resources are *not* included with this package.
% Obtain them from CTAN:  http//ctan.tug.org/ctan
%
% ===================================================================
% In LaTeX this package does little more than to load  indica.sty .
% which in turn loads  sinhala.sty .
% However...
%
% ...the package has a corresponding implementation for  LaTeX2HTML 
% called: tibetan.perl  which loads  indica.perl .
%
% With LaTeX2HTML the options on the \usepackage line specify 
% pre-processor commands to be included automatically.
%
% Usage:
%
%  \usepackage{tibetan}            %|  pre-process source using Indica
%  \usepackage[indica]{tibetan}    %|  with  #ALIAS TIBETAN T
%  \usepackage[preprocess]{tibetan}%|  and   #ALIAS NIL N
%
%  \usepackage[tib]{tibetan}       %| also use #ALIAS TIBETAN TIB
%
%
%  options affecting Input-forms
%
%  \usepackage[7bit]{tibetan}    %|  Velthuis' Hindi/Sanskri transcription
%  \usepackage[csx]{tibetan}     %|  8-bit Sanskrit extension of ISO 646
%  \usepackage[latex]{tibetan}   %|  standardized LaTeX transcription form
%  \usepackage[unicode]{tibetan} %|  ISO 10646-1 + Sinhalese extension
%  \usepackage[samanala]{tibetan}%|  Prasad Dharmasena's transliteration
%
% ===================================================================
%
\ProvidesFile{tibetan.sty}[1998/1/17]
%
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{indica}
\PassOptionsToPackage{tibetan}{indica}
%
\DeclareOption{preprocess}{\PassOptionsToPackage{preprocess}{indica}}
\DeclareOption{indica}{\PassOptionsToPackage{tibetan}{indica}}
\DeclareOption{7bit}{\PassOptionsToPackage{7bit}{indica}}
\DeclareOption{csx}{\PassOptionsToPackage{csx}{indica}}
\DeclareOption{latex}{\PassOptionsToPackage{latex}{indica}}
\DeclareOption{samanala}{\PassOptionsToPackage{samanala}{indica}}
\DeclareOption{unicode}{\PassOptionsToPackage{unicode}{indica}}

\DeclareOption{tib}{\PassOptionsToPackage{tib}{indica}}

\DeclareOption*{\@latexerr{%
 `\CurrentOption' is an invalid option, using `preprocess' instead}%
 {Available Options:^^J^^J indica,7bit,csx,latex,unicode,samanala,tib^^J}%
 \PassOptionsToPackage{preprocess}{indica}}

\ProcessOptions*
\endinput

