On 11/16/2014 8:53 PM, Idris Samawi Hamid ادريس سماوي حامد wrote:
Dear gang,

In the following, we middle align both \placetable's:

================
\setupbodyfont[tt]
\definefont[ALM][file:almfixed.otf*arabic at 12pt]
\setupdirections[bidi=global]

\setupxtable[width=1in]

\showframe

\starttext
\startalignment[middle]
\ALM
\placetable[middle,none]{}
{\startxtable
  \startxrow
      \startxcell Text 1 \stopxcell
      \startxcell[align=r2l] النص ١ \stopxcell
  \stopxrow
\stopxtable}

\placetable[middle,none]{}
{\righttoleft \startxtable
  \startxrow
      \startxcell[align=r2l] النص ١ \stopxcell
      \startxcell Text 1 \stopxcell
  \stopxrow
\stopxtable}
\stopalignment
\stoptext
================

Only the first \placetable is aligned correctly; how do we get the
second one -- \righttoleft table -- middle aligned? See attached.

i can fix the funny lap but still we need to have some concept of cells running from l2r or r2l ..

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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