Mohammad Hossein Bateni
11. Januar 2016 um 17:58
Great!  You partly answered another question I meant to ask: what is the proper way to write \textdir and \pardir in CONTEXT?  So \lefttoright and \righttoleft are replacements for \textdir TLT and \textdir TRT.  How should I code in \pardir TRT in CONTEXT?  I couldn't find anything for that in spac-ali.mkiv.
The \lefttoright and \righttoleft commands set the paragraph direction when you use the commands at the begin of a paragraph.

\setupwhitespace[line]

\starttext

\input ward

\righttoleft
\input ward

\lefttoright
\input ward

\stoptext

Still there is no need for \righttoleft because you can use the normal alignment commands {\setupalign and \startalignment) to change the text direction.

\setupwhitespace[line]

\starttext

\input ward

\startalignment[righttoleft]
\input ward
\stopalignment

\input ward

\stoptext

Wolfgang