[Top][All Lists]
[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/
- Re: [emacs-bidi] diacritics, ligatures, etc., (continued)
- Re: [emacs-bidi] diacritics, ligatures, etc., Eli Zaretskii, 2001/11/12
- Re: [emacs-bidi] bidi categories, Alex Schroeder, 2001/11/08
- Re: [emacs-bidi] bidi categories, Eli Zaretskii, 2001/11/08
- Re: [emacs-bidi] bidi categories, Alex Schroeder, 2001/11/09
- Re: [emacs-bidi] bidi categories, Alex Schroeder, 2001/11/09
- Re: [emacs-bidi] bidi categories, Eli Zaretskii, 2001/11/09
- Re: [emacs-bidi] bidi categories, derived from Unicode data, Alex Schroeder, 2001/11/09
- Re: [emacs-bidi] bidi categories, derived from Unicode data, Eli Zaretskii, 2001/11/10
- Re: [emacs-bidi] bidi categories, derived from Unicode data, Alex Schroeder, 2001/11/10
- Re: [emacs-bidi] bidi categories, Ehud Karni, 2001/11/10
- Re: [emacs-bidi] bidi categories,
Alex Schroeder <=
- Re: [emacs-bidi] bidi categories, Ehud Karni, 2001/11/12
- [emacs-bidi] improve visual-to-logical, Alex Schroeder, 2001/11/13
- Re: [emacs-bidi] improve visual-to-logical, Eli Zaretskii, 2001/11/13
- Re: [emacs-bidi] improve visual-to-logical, Alex Schroeder, 2001/11/13
- Re: [emacs-bidi] improve visual-to-logical, Eli Zaretskii, 2001/11/13
- Re: [emacs-bidi] improve visual-to-logical, Alex Schroeder, 2001/11/13
- Re: [emacs-bidi] improve visual-to-logical, Eli Zaretskii, 2001/11/13
- Re: [emacs-bidi] improve visual-to-logical, Ehud Karni, 2001/11/13
- Re: [emacs-bidi] improve visual-to-logical, Eli Zaretskii, 2001/11/13
- Re: [emacs-bidi] bidi categories, Alex Schroeder, 2001/11/13