%
% Copyright (C) 2008-2004 by Azzeddine LAZREK. All rights reserved.
%
% dadpreamb.tex
% This file belongs to the DadTeX package.
%


%
\def\صنفمستند#1{
\def\mqal{مقال}
\def\ktab{كتاب}
\def\arg{#1}
\ifx \arg\mqal \documentclass{arabart}
     \else \ifx \arg\ktab \documentclass{book}
\fi\fi 
}

%
\def\استعمل#1{
\def\aratex{عربتكس}
\def\ryd{ريضعرب}
\def\cur{كيوركست}
\def\bab{بابل}
\def\nas{نسخ}
\def\isoar{iso88596}
%\def\arabiza{تعريب}
%\def\sora{صور}
\def\arg{#1}
\ifx \arg\aratex \usepackage{arabtex}
   \else \ifx \arg\ryd \usepackage{rydarab}
   \else \ifx \arg\cur \usepackage[parenthesis,kashidasymbol]{curext}
   \else \ifx \arg\nas \usepackage{nasx}
   \else \ifx \arg\bab \usepackage[french]{babel}
%   \else \ifx \arg\arabiza \usepackage{ada}
%   \else \ifx \arg\sora \usepackage{graphics}
   \else \ifx \arg\isoar \usepackage{iso88596}
\fi\fi\fi\fi\fi\fi
%\fi\fi
}


\endinput
