Here we collect several tips and tricks for dealing with right-to-left (RTL) texts as well as BiDi (bidirectional) texts. The large number of hooks in different commands makes it possible to use CONTEXT's support for such documents. However, there are limitations and/or bugs, as well.
== Basics ==
Use {{cmd|setupalign}} to change the text direction to RTL.
<context source=yes mode=mkiv text="This produces:">
% mode=mkiv
\setupalign[r2l]
\starttext
\input knuth
\stoptext
</context>