Re: [NTG-context] Bug in inframed
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___ 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 ___
Re: [NTG-context] Bug in inframed
Salaam, On Thu, 12 Sep 2013 06:09:46 -0600, H. Özoguz h.oezo...@mmnetz.de 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}}} \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 ___ 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 ___
Re: [NTG-context] Bug in inframed
Salam, @Idris, Aditya: Thank you very much, works perfect for me. ___ 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 ___