emacs-bidi
[Top][All Lists]
Advanced

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

Re: [emacs-bidi] bidi categories


From: Alex Schroeder
Subject: Re: [emacs-bidi] bidi categories
Date: Sun, 11 Nov 2001 05:57:25 +0100
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i686-pc-linux-gnu)

"Ehud Karni" <address@hidden> writes:

> The reverse process (visual -> logical) is simpler than logical ->
> visual (because you can add as much formatting characters as you wish).
> A simple way to do it is: 1. Add LRM at both ends of any SLS (strong L
> string). 2. For left to right reading paragraph - inverse each of the
> SLSs. For right to left reading paragraph - inverse each of the strings
> that are NOT SLS. The optimization is to get rid of the redundant LRMs.

Hm, I think I must have missed something.  Are you saying that in
order to get one of the possible logical representations of a visual
order string, I could just have added lots of explicit ordering codes?

I guess what I did right now is this: I implemented the bidi algorithm
without explicit levels and found that it does what I want.  I can
feed it a visual order string and get another string which I might
want to store as a logical representation.  Maybe that is too much, or
it missed the mark.  I need some feedback on that, I guess.

I'll look at it on monday -- I won't be around tomorrow.  :)

Alex.
-- 
http://www.emacswiki.org/



reply via email to

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