[NTG-context] Paragraph breaking bug with BiDi text

Hans Hagen pragma at wxs.nl
Mon Jan 11 22:52:13 CET 2016

On 1/11/2016 5:58 PM, Mohammad Hossein Bateni wrote:

> Thanks for the explanation.  So the space after \textdir TLT is
> meaningful but the one after \lefttoright isn't.  (I guess, I should
> have used \textdir TLT\relax.  I'm going to use the high-level
> \lefttoright command from now on.)

in addition to wolfgangs explanation: you can use grouping

foo {\righttoleft oof} foo

it's best to keep the spaces at the outer level so no

foo{ \righttoleft oof }foo

                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl

More information about the ntg-context mailing list