[NTG-context] aligning \placetable with bidi

Idris Samawi Hamid ادريس سماوي حامد ishamid at colostate.edu
Sun Nov 16 20:53:13 CET 2014


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.

Best wishes
Idris
-- 
Idris Samawi Hamid
Professor of Philosophy
Colorado State University
Fort Collins, CO 80523
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xtable-bidi.pdf
Type: application/pdf
Size: 7382 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20141116/7b49e37a/attachment.pdf>


More information about the ntg-context mailing list