emacs-bidi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [emacs-bidi] lisp hack: visual-2-logical and back leaving ASCII out


From: Ehud Karni
Subject: Re: [emacs-bidi] lisp hack: visual-2-logical and back leaving ASCII out
Date: Wed, 7 Nov 2001 22:11:21 +0200

On Wed, 07 Nov 2001 18:31:36 +0000, Uwe Brauer <address@hidden> wrote:
>  > > part 1. Latex commands
>  > > A with logical Hebrew. (capital letter indicating iso-8859-8 char, _
>  > >   whitespace) 
>  > > SHALOM_RAV__
>  > > B visual Hebrew
>  > > VAR_MOLAHS_____
>  > > 
>  > > part 2. I apply the converter which gives
>  > > A
>  > > __VAR_MOLAHS
>  > > B
>  > > _____SHALOM_RAV
>  > > 
>  > > Part 3 I apply the converter _again_ which gives part 1.
> 
> All of this is done by the _SAME_ function!

This can't be UTR#9 compliant. There are known cases of visual text
that can not be represnted in logical order without formatting code
(e.g. digits Hebre digits in L2R paragraph).

Anyway, for simple cases you can use `winvert' to achive the same
results (it works on MULE Hebrew in Emacs 21.1). Running it twice
when there are NO formatting characters will give the original string
in most cases.

Ehud.


-- 
 Ehud Karni     Mivtach - Simon  Insurance   /"\
 Tel: +972-3-7966-561 Fax: +972-3-7966-667   \ /  ASCII Ribbon Campaign
 (USA) Fax and  voice  mail: 1-815-5509341    X   Against  HTML  Mail
     Better     Safe     Than     Sorry      / \
     mailto:address@hidden    http://www.simonwiesel.co.il



reply via email to

[Prev in Thread] Current Thread [Next in Thread]