Dov Feldstern wrote:
I think my inclination is this: we "ignore" the language of spaces, and
make them behave according to the bidi algorithm (or even better, first
decide how they should be treated, according to the bidi algorithm, and
then set their language accordingly --- would that be possible? The
advantage is this: that would also make them show up on the screen as
they are treated internally, and more importantly: would make latex
treat them correctly).
I think we'd still need a lyx2lyx in this case, though: while generating
latex, we're still taking the language into account, even for spaces.
The solution I outlined would not allow the user to type in such text,
but if it's already typed in (a preexisting file, or even by cutting and
pasting two pieces of text together, maybe), the latex generated would
be different from the way we mean to treat it...
So maybe we still need to make the latex generation take this into
account, too...
Opinions?
I bridle at the fact that we are forcing
something on the user, but OTOH I can't think of any situation where the
user would want to force different behavior. And the alternative would
also require the lyx2lyx changes...
But again, I want opinions from other Bidi users (and any other
developers, too).
Stefan