% bengali.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: bengali.perl  which loads  indica.perl .
%
% With LaTeX2HTML the options on the \usepackage line specify 
% pre-processor commands to be included automatically.
%
% Usage:
%
%  \usepackage{bengali}            %|  pre-process source using Indica
%  \usepackage[indica]{bengali}    %|  with  #ALIAS BENGALI B
%  \usepackage[preprocess]{bengali}%|  and   #ALIAS NIL N
%
%  \usepackage[ben]{bengali}       %| also use #ALIAS BENGALI BEN
%
%
%  options affecting Input-forms
%
%  \usepackage[7bit]{bengali}    %|  Velthuis' Hindi/Sanskri transcription
%  \usepackage[csx]{bengali}     %|  8-bit Sanskrit extension of ISO 646
%  \usepackage[latex]{bengali}   %|  standardized LaTeX transcription form
%  \usepackage[unicode]{bengali} %|  ISO 10646-1 + Sinhalese extension
%  \usepackage[samanala]{bengali}%|  Prasad Dharmasena's transliteration
%
% ===================================================================
%
\ProvidesFile{bengali.sty}[1998/1/17]
%
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{indica}
\PassOptionsToPackage{bengali}{indica}
%
\DeclareOption{preprocess}{\PassOptionsToPackage{preprocess}{indica}}
\DeclareOption{indica}{\PassOptionsToPackage{bengali}{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{ben}{\PassOptionsToPackage{ben}{indica}}

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

 \CurrentOption is an invalid option, using `preprocess' instead.}%
 \PassOptionsToPackage{preprocess}{indica}}

\ProcessOptions*
\endinput

