Khaled Hosny wrote:
On Fri, Apr 03, 2009 at 11:17:25PM +0200, Hans Hagen wrote:
a better example of the mess we're dealing with:
\starttext
\pagedir TRT \bodydir TRT \pardir TRT \textdir TRT \startTEXpage \input tufte \stopTEXpage \pagedir TLT \bodydir TRT \pardir TRT \textdir TRT \startTEXpage \input tufte \stopTEXpage \pagedir TRT \bodydir TLT \pardir TRT \textdir TRT \startTEXpage \input tufte \stopTEXpage \pagedir TLT \bodydir TLT \pardir TRT \textdir TRT \startTEXpage \input tufte \stopTEXpage
\stoptext
Thanks for the example, I think I got your point. From my understanding, I think text and paragraph direction should be only controlled by \textdir and \pardir respectively, whatever \pagedir or \bodydir are. Indeed, I don't see why \bodydir would influence the text direction inside boxes.
indeed, so we're looking into it now (an dlet's forget about the page/bodydir for the moment) since textdir and pardir go hand-in-hand i suggest the following \setuplayout[direction=r2l] % also influences general layout issues \setupalign [r2l] % textdir and pardir \setuparranging[direction=r2l] % will flush pages backward so l2r and r2l values; as they are part of the align mechanism then, they are automatically part of all commands that have a align key Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------