[Aleph] iso-omarab.tex

ishamid ishamid at lamar.colostate.edu
Mon Aug 16 19:04:00 CEST 2004


Hi Javier and gang:

>===== Original Message From "Javier Bezos" <jbezos at wanadoo.es> =====

>Please, could someone
>send to me a short text written in Arabic in a file
>_not_ in Unicode (eg, in ISO Arabic) and a PS or PDF
>with the result.

Here you go, uncomment and comment to convert to LaTeX/Mim document:

================== iso-omarab.tex ============
%\documentclass[12pt]{article}

\hoffset=0pt % Aleph bug
\pretolerance=10000 % Arabic doesn't hyphenate

\def\ArabicUTF{%\ocp\UTFArUni=inutf8
               \ocp\ISOArUni=in88596
               \ocp\UniCUni=uni2cuni
               \ocp\CUniArab=cuni2oar
               \ocplist\UTFArOCP=
               \addbeforeocplist 1 \ISOArUni
               \addbeforeocplist 1 \UniCUni
               \addbeforeocplist 1 \CUniArab
               \nullocplist
               \pushocplist\UTFArOCP}

\input m-gamma.tex
\input type-omg.tex

\switchtobodyfont[omarb,12pt] %

\textdir TRT%
\pardir TRT%
\ArabicUTF

\starttext

%\begin{document}

%\fontencoding{OT1}\fontfamily{omarb}\fontsize{12}{24}\selectfont











 äêÓ Ôê Á ÈÍâêâÉ ÇäÔêÆêÉ ÓèÇç.

\stoptext

%\end{document}
====================================================

Best
Idris

-------------- next part --------------
A non-text attachment was scrubbed...
Name: iso-omarab.pdf
Type: application/pdf
Size: 26876 bytes
Desc: not available
Url : http://www.ntg.nl/pipermail/aleph/attachments/20040816/8c94c9eb/iso-omarab-0001.pdf


More information about the Aleph mailing list