On 19/10/2018 08:23, Guy Rutenberg wrote:
Hi,

I've noticed a peculiar behavior when writing an Hebrew document in LyX. Whenever I type parentheses they get reversed. The problem does not happen when switching to English. For example if i type ( <shift+9> I get ) <shift+0> instead, and vice-versa. This happens with all kinds of bracketing including <>, [], {}.


I can see the logic behind this, treating logically <shift+9> as "opening parenthesis" and <shift+0> as "closing parenthesis", and them mapping it, logically, to Hebrew which is right-to-left. However, this is quiet annoying, because no other program behaves that way.

Is there a way to fix this?

Thanks,
Guy

I am not fully sure from what you write which parenthesis you get on which key combination.

In a document with Hebrew set as language I get "(" on <Shift+9> and ")" on <Shift+0>. So, that seems to be what you desire. So, in that case I cannot reproduce what you see.

However, this is with an English, German, etc. keyboard layout. This changes if I switch to the Hebrew keyboard layout. But then the Hebrew keyboard layout seems to have parenthesis switched relative to the English:

https://en.wikipedia.org/wiki/Hebrew_keyboard#/media/File:Hebrew_keyboard_layout.png

So, if you are using a Hebrew keyboard layout, then LyX seems to behave correctly. But in that case I am wondering why other applications don't behave that way for you.

Best,
Daniel

Reply via email to