%%
%% This is file `sarabian.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% sarabian.dtx  (with options: `usc')
%% ------------------------------------------------------------------
%%   Author: Peter Wilson (Herries Press) herries dot press at earthlink dot net
%%   Copyright 2005 Peter R. Wilson
%% 
%%   This work may be distributed and/or modified under the
%%   conditions of the Latex Project Public License, either
%%   version 1.3 of this license or (at your option) any
%%   later version.
%%   The latest version of the license is in
%%     http://www.latex-project.org/lppl.txt
%%   and version 1.3 or later is part of all distributions of
%%   LaTeX version 2003/06/01 or later.
%% 
%%   This work has the LPPL maintenance status "author-maintained".
%% 
%%   This work consists of the files listed in the README file.
%% ------------------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{sarabian}[2005/11/12 v1.1 package for South Arabian fonts]
\newcommand{\sarabfamily}{\usefont{T1}{sarab}{m}{n}}
\DeclareTextFontCommand{\textsarab}{\sarabfamily}

\chardef\SArq=`'
\chardef\SAa=`a
\chardef\SAb=`b
\chardef\SAg=`g
\chardef\SAd=`d
\chardef\SAh=`h
\chardef\SAw=`w
\chardef\SAz=`z
\chardef\SAhd=`H
\chardef\SAtd=`T
\chardef\SAy=`y
\chardef\SAk=`k
\chardef\SAl=`l
\chardef\SAm=`m
\chardef\SAn=`n
\chardef\SAs=`s
\chardef\SAf=`f
\chardef\SAlq=``
\chardef\SAo=`o
\chardef\SAsd=`x
\chardef\SAq=`q
\chardef\SAr=`r
\chardef\SAsv=`S
\chardef\SAt=`t
\chardef\SAhu=`I
\chardef\SAdb=`D
\chardef\SAtb=`J
\chardef\SAga=`G
\chardef\SAzd=`Z
\chardef\SAsa=`X
\chardef\SAdd=`B

\newcommand{\translitsarab}[1]{{%
  \@translitSA\translitsarabfont #1}}
\newcommand{\translitsarabfont}{\itshape}

\DeclareTextCommand{\SAunder}{OT1}[1]%
  {{\o@lign{\relax#1\crcr\hidewidth\sh@ft{29}%
    \vbox to.2ex{\hbox{\char21}\vss}\hidewidth}}}

\newcommand{\@translitSA}{%
\def\SArq{'}%
\def\SAa{'}%
\def\SAb{b}%
\def\SAg{g}%
\def\SAd{d}%
\def\SAh{h}%
\def\SAw{w}%
\def\SAz{z}%
\def\SAhd{\d{h}}%
\def\SAtd{\d{t}}%
\def\SAy{y}%
\def\SAk{k}%
\def\SAl{l}%
\def\SAm{m}%
\def\SAn{n}%
\def\SAs{s}%
\def\SAf{f}%
\def\SAlq{`}%
\def\SAo{`}%
\def\SAsd{\d{s}}%
\def\SAq{q}%
\def\SAr{r}%
\def\SAsv{\v{s}}%
\def\SAt{t}
\def\SAhu{\SAunder{h}}%
\def\SAdb{\b{d}}%
\def\SAtb{\b{t}}%
\def\SAga{\'{g}}%
\def\SAzd{\d{z}}%
\def\SAsa{\'{s}}%
\def\SAdd{\d{d}}%
}

\endinput
%%
%% End of file `sarabian.sty'.
