I found the following bug in \inframed, getting problems with inframing arabic words, try the following example \definefont[arab][name:arial*arabic at 18pt] \define[1]\awort{{\hbox{\setupalign[r2l]\arab#1}}} \starttext \awort{بِالصَّالِحِينَ}\blank \awort{\inframed{بِالصَّالِحِينَ}} \stoptext You see the difference: The inframed has right-shifted vocalizations. Is that easy to fix? Huseyin
On Thu, 12 Sep 2013, "H. Özoguz" wrote:
I found the following bug in \inframed, getting problems with inframing arabic words, try the following example
\definefont[arab][name:arial*arabic at 18pt] \define[1]\awort{{\hbox{\setupalign[r2l]\arab#1}}}
Untested, but why not \defineframed[awort][align=r2l, foregroundstyle=\arab, frame=off] and then you should be able to use \awort[frame=on,location=low]{....} which is similar to \inframed. Aditya
Salaam,
On Thu, 12 Sep 2013 06:09:46 -0600, H. Özoguz
I found the following bug in \inframed, getting problems with inframing arabic words, try the following example
\definefont[arab][name:arial*arabic at 18pt] \define[1]\awort{{\hbox{\setupalign[r2l]\arab#1}}} \starttext \awort{بِالصَّالِحِينَ}\blank \awort{\inframed{بِالصَّالِحِينَ}} \stoptext
You see the difference: The inframed has right-shifted vocalizations. Is that easy to fix?
Try this: \definefont[arab][name:arial*arabic at 18pt] \define[1]\awort{{\hbox{\setupalign[r2l]\arab#1}}} \starttext \awort{بِالصَّالِحِينَ}\blank \awort{\inframed[align=r2l]{بِالصَّالِحِينَ}} \stoptext \inframed needs alignment! Best wishes Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523
participants (3)
-
"H. Özoguz"
-
Aditya Mahajan
-
Idris Samawi Hamid ادريس سماوي حامد