aligning \placetable with bidi
![](https://secure.gravatar.com/avatar/a4358949522f2efc1bab8ed68385b00c.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
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 -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Idris Samawi Hamid ادريس سماوي ح امد