RTL

From Wiki
Revision as of 04:08, 27 January 2016 by Bateni (talk | contribs) (Basic usage of setupalign)
Jump to navigation Jump to search

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 \setupalign to change the text direction to RTL.

% mode=mkiv
\setupalign[r2l]
\starttext
\input knuth
\stoptext

This produces: