Elazar Leibovich wrote:
Before talking, can you try the windows version? it's always like that
in the windows version.
See below.
No can do, I don't have a Windows machine. Any windows users out there
who can test the math cut&paste in RTL paragraphs, and let us know if
there are problems?
I wouldn't be at all surprised if this is a platform related issue. As I
said earlier, I don't think there is a clear standard as to how
parentheses are treated in RTL text, and it's very possible that Windows
and Linux behave differently in this respect.
On 5/15/07, Dov Feldstern
<[EMAIL PROTECTED]> wrote:
I still don't understand. I want to figure out what you're doing. If you
want to type a Hebrew document, you open LyX (I'm assuming the RTL
preference is already true, of course). You do
Document->settings->language and choose Hebrew. (BTW, what encoding are
you using in that dialog box?)
You switch your keyboard input to Hebrew? And you start typing.
Is this right so far?
So far so good.
Now let's say you want to insert a word in english -- you just switch
the keyboard, and type in English? and then switch back, etc.? Never
touch any of the language commands or anything? And the latex output is
correct?
Nope. When typing english word I'm pressing C-m twice, thus I'm
getting english text environment.
Actually, I don't think so. What you're getting is text mode inside a
math environment. It happens to work if you want to type in a word or
two of English, but it's not the right way to do it --- neither
logically (you want English, not math) nor practically (try inserting a
whole sentence -- one which spans more than one line --- of English into
a Hebrew paragraph; it won't break, because it's in a math inset). And I
believe you still have to change the keyboard input to get to English
when you do this, right?
You should use the 'language Hebrew' command for switching between
languages (that's what F12 is bound to in the Hebrew bindings file, of
course you could choose any key you want). If you also set up the
keyboards correctly (as explained in Dekel's instructions at
http://www.cs.bgu.ac.il/~dekelts/lyx/ --- though you may need to change
it a bit, as it may be out-of-date), then you don't need to switch at
the keyboard level at all, ever --- the keys are interpreted according
to whichever language you're in. So just pressing F12 both sets the
language and switches the keyboard.
Alternatively, you can try following the instructions at
http://www.ma.huji.ac.il/~sameti/hebrewlyxwin/ or at
http://wiki.lyx.org/Windows/Hebrew. Those are Windows oriented, so you
may find them more useful.
To sum this up: please use Hebrew correctly. Then, test the math
cut&paste issue. The truth is, I don't think that this will solve the
problem, but please do try first, and let us know.
Can you please send me a sample document which you typed this way?
Attached
The document is very impressive, though (not that I got into the details
--- it's been a few years since Infy...)!
Dov