Hi,

now the big problems with arabic fonts are solved, and other problems arises, see this code:

\definefont[amiri][file:UthmanTN1Ver10.ttf*arabic at 13 pt] % or amiri-regular.ttf
\define[1]\Arab{\setupalign[r2l]\amiri#1}
\showgrid
\startsetups[arde]
\setupTABLE[c][1][rightframe=on]
\stopsetups
\def\startarde
{\bTABLE[frame=off,width=.5\textwidth,setups=arde,split=yes]}
\def\stoparde
{\eTABLE}
\define[2]\arde
{\bTR
\bTD #1\eTD
\bTD \setupinterlinespace[line=5ex] \setupalign[left] \amiri \Arab{#2}\eTD
\eTR}
\starttext
\startarde
\arde{blub}{االلّهُمَّ إِنِّي أَسْأَلُكَ أَنْ تَجْعَلَ فِيما تَقْضِي وَتُقَدِّرُ مِنَ الاَمْرِ المَحْتُومِ فِي الاَمْرِ الحَكِيمِ مِنَ القَضاء الَّذِي لايُرَدُّ وَلا يُبَدَّلُ أَنْ تَكْتُبَنِي مِنْ حُجَّاجِ بَيْتِكَ الحَرامِ المَبْرُورِ حَجُّهُمُ المَشْكُورِ سَعْيُهُمُ المَغْفُورُ ذُنُوبُهُمُ المُكَفَّرِ عَنْ سَيِّئاتِهِمْ، وَأَنْ تَجْعَلَ فِيما تَقْضِي وَتُقَدِّرُ أَنْ تُطِيلَ عُمْرِي فِي خَيْرٍ وَعافِيَةٍ وَتُوَسِّعَ فِي رِزْقِي وَتَجْعَلَنِي مِمَّنْ
تَنْتَصِرُ بِهِ لِدِينِكَ وَلاتَسْتَبْدِلْ بِي غَيْرِي

إِلهِي وَقَفَ السَّائِلُونَ بِبابِكَ، وَلاذَ الفُقَراءُ بِجَنابِكَ وَوَقَفَتْ سَفِينَةُ المَساكِينِ عَلى ساحِلِ بَحْرِ جُودِكَ وَكَرَمِكَ يَرْجُونَ الجَوازَ إِلى ساحَةِ رَحْمَتِكَ وَنِعْمَتِكَ. إِلهِي إِنْ كُنْتَ لاتَرْحَمُ فِي هذا الشَّهْرِ الشَّرِيفِ إِلاّ مَنْ أَخْلَصَ لَكَ فِي صِيامِهِ وَقِيامِهِ فَمَنْ لِلْمُذْنِبِ المُقَصِّرِ إِذا غَرِقَ فِي بَحْرِ ذُنُوبِهِ وَآثامِهِ ؟ إِلهِي إِنْ كُنْتَ لاتَرْحَمُ إِلاّ المُطِيعِينَ فَمَنْ لِلْعاصِينَ ؟ وَإِنْ كُنْتَ لاتَقْبَلُ إِلاّ مِنَ العامِلِينَ فَمَنْ لِلْمُقَصِّرِينَ ؟ إِلهِي رَبِحَ الصَّائِمُونَ، وَفازَ القَائِمُونَ، وَنَجا المُخْلِصُونَ، وَنَحْنُ عَبِيدُكَ المُذْنِبُونَ. فَارْحَمْنا بِرَحْمَتِكَ، وَاعْتِقْنا مِنَ النَّارِ بِعَفْوِكَ، وَاغْفِرْ لَنا ذُنُوبَنا بِرَحْمَتِكَ. يا أَرْحَمَ الرَّاحِمِينَ
}
\stoparde
\stoptext

This is my default environment for setting with two languages (translations). On the right side, you see the problem with the arabic: The interlinespace. Between the first lines everything is ok, but then the interlinespace becomes smaller and smaller. Why?

It is some issue of the table, because if I set the arabic text purely out of the table by \Arab{}, then there is no problem and all interlinespaces are the same. So where comes this from?

Huseyin




___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to