% arabdoc3.tex %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section {Language selection}\label {languages}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

The processing of input text to be written in the Arabic script
is somewhat language dependent.
Thus before the first {\em Arabic quotation\/} or {\em Arabic environment\/}
you have to indicate the desired processing mode by
one of the commands \verb"\setarab", \verb"\setfarsi", \verb"\seturdu",
\verb"\setpashto", \verb"\setmaghribi",
or \verb"\setverb" (no special processing;
see however Section~\ref{verbatim}).
The processing mode may be changed at any time,
even inside an {\em Arabic environment\/} or an {\em Arabic quotation.}%
                                                  \index{\setarab}
                                                  \index{\setfarsi}
                                                  \index{\seturdu}
                                                  \index{\setpashto}
                                                  \index{\setmaghribi}
                                                  \index{\setverb}
                                                  \index{language selection}

After selecting a language, the symbols \verb/</ and \verb/>/ serve
%                                                  \index{<}%
                                                  \index{>}%
to bracket short insertions in the chosen language.
Whereas this is usually convenient,
observe that they can thus no more be used for other purposes,
except in mathematical mode where they retain their normal
meaning as relational operators.
To temporarily return them to their normal mode of operation,
deselect the language by \verb/\setnone/.
{\em Arabic insertions\/} may also be started by \verb"\<".%
%
\footnote {Note for advanced \TeX\ users:
All language selecting commands except \verb"\setnone" set the character
\verb"<" active.
If {\em Arabic insertions\/} are not needed,
or are always started with \verb"\<",
the user may reuse the command \verb"<" for other purposes,
or deactivate it by \verb"\catcode `\<=12"
to return it to its normal meaning.
}
%                                                  \index{\<}%


For further details on supported languages,
see Section~\ref {otherlanguages}.
                                                  \index{\setnone}

\endinput
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
