[NTG-context] Macros in \start-stopTABLE

Hans Hagen pragma at wxs.nl
Sun Nov 16 14:18:02 CET 2014


On 11/16/2014 5:50 AM, Idris Samawi Hamid ادريس سماوي حامد wrote:
> Dear gang,
>
> In the following, the first table works and the second one does not:
>
> =====================
> \setupbodyfont[tt]
> \definefont[ALM][file:almfixed.otf*arabic at 12pt]
> \setupdirections[bidi=global]
>
> \define\NCR{\NC \righttoleft \ }
> \define\NCL{\NC \lefttoright \ }
>
> \setupTABLE[c][each][width=1in]
>
> \starttext
> \ALM
> \placetable[right,none]{}
> {\startTABLE
> \NC Text 1 \NC \righttoleft النص 1 \NC\NR
> \stopTABLE}
>
> \placetable[right,none]{}
> {\startTABLE
> \NC Text 2 \NCR النص 2 \NC\NR
> \stopTABLE}
> \stopalignment
> =====================
>
> gives
>
> "I've run across a `}' that doesn't seem to match anything."
>
> What do I need to do to get this macro right here?

don't confuse starttable and startTABLE (used \bTR etc)

Hans

-----------------------------------------------------------------
                                           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
-----------------------------------------------------------------


More information about the ntg-context mailing list