[NTG-context] Luatex (actually Aleph) and Bidi_Mirrored chars in RTL mode
Hans Hagen
pragma at wxs.nl
Sun Jun 15 22:32:40 CEST 2008
Idris Samawi Hamid wrote:
> Hi Khaled,
>
> On Fri, 13 Jun 2008 15:52:27 -0600, Khaled Hosny <khaledhosny at eglug.org>
> wrote:
>
>>> experimental in the beta
>>>
>>> \setcharactermirroring[1]
>>
>> It does work perfectly with unidirectional texts (RTL or LTR), but when
>> mixing bi-directional text, like Arabic text between brackets inside
>> English line, the closing bracket takes the direction of the embedded
>> text not the main line.
>> See the attached example.
>
> I just worked with this, and made some symmetrical definitions: see the
> attached modified files.
>
> \setcharactermirroring[0,1] works in both uni- and bi-directional text
> -- note that each bracketpair is inside of its respective directional
> context.
i wonder what gives you the impression that you can use 0.1 as argument
currently there is no reset command but you can say
\setcharactermirroring[-1]
since -1 resets an attribute
-----------------------------------------------------------------
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
-----------------------------------------------------------------
More information about the ntg-context
mailing list