Re: Parentheses keys are reversed in Hebrew
Hi, I've made some more experiments (this time on the git version) and it seems the behavior changes based on how hebrew is typed: * If you are using the system's keyboard layout then () get reversed, and [] {} <> are correct. * If you are using lyx's hebrew keymap (and system's keyboard layout as english) then () are correct and [],{} and <> are reversed. In both cases, the display in lyx matches xelatex output (which is good). Thanks, Guy On Mon, 22 Oct 2018 at 09:52, Guy Rutenberg wrote: > Hi, > I'm re-sending my last message as it appears I accidentally didn't send it > to the list. I've also added the lyx-devel, as it seems to be more > appropriate. > > On Fri, 19 Oct 2018 at 17:22, Guy Rutenberg > wrote: > >> On Fri, 19 Oct 2018 at 11:05, Daniel wrote: >> >>> >>> 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: >>> >> >> I'm referring to the case of using Hebrew keyboard layout. >> >>> >>> >>> https://en.wikipedia.org/wiki/Hebrew_keyboard#/media/File:Hebrew_keyboard_layout.png >>> >>> >> I don't know how made that diagram, but I'm pretty sure that he didn't >> use an actual Hebrew keyboard. I have around seven different keyboards >> around me right now from different manufacturers, non have this weird >> things with reversed parenthesis. Even the actual keyboard photo in the >> Wiki article shows the parenthesis to be normal and not reversed as in the >> diagram. >> >> >>> 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. >> >> >> Because LyX behavior is unexpected to the normal user. >> >> On Fri, 19 Oct 2018 at 13:11, Jürgen Spitzmüller wrote: >> >>> >>> >>> Please comment here: >>> https://www.lyx.org/trac/ticket/11191 >>> >>> We generally need to audit LyX's behavior with bracket/parens input in >>> RTL, but we urgently need input from experienced users. >>> >>> >> I've added a new comment there as well. I'll gladly help to fix this >> issue if someone can point me in the right direction. >> > > > I've looked again at the bug and the patch linked there. It seems that the > code handling parenthesis had been moved to somewhere else. Where does it > resides now? I want to try and patch it so it won't reverse parenthesis in > hebrew. > > Thanks, > Guy >
Re: Parentheses keys are reversed in Hebrew
Hi, I'm re-sending my last message as it appears I accidentally didn't send it to the list. I've also added the lyx-devel, as it seems to be more appropriate. On Fri, 19 Oct 2018 at 17:22, Guy Rutenberg wrote: > On Fri, 19 Oct 2018 at 11:05, Daniel wrote: > >> >> 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: >> > > I'm referring to the case of using Hebrew keyboard layout. > >> >> >> https://en.wikipedia.org/wiki/Hebrew_keyboard#/media/File:Hebrew_keyboard_layout.png >> >> > I don't know how made that diagram, but I'm pretty sure that he didn't use > an actual Hebrew keyboard. I have around seven different keyboards around > me right now from different manufacturers, non have this weird things with > reversed parenthesis. Even the actual keyboard photo in the Wiki article > shows the parenthesis to be normal and not reversed as in the diagram. > > >> 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. > > > Because LyX behavior is unexpected to the normal user. > > On Fri, 19 Oct 2018 at 13:11, Jürgen Spitzmüller wrote: > >> >> >> Please comment here: >> https://www.lyx.org/trac/ticket/11191 >> >> We generally need to audit LyX's behavior with bracket/parens input in >> RTL, but we urgently need input from experienced users. >> >> > I've added a new comment there as well. I'll gladly help to fix this issue > if someone can point me in the right direction. > I've looked again at the bug and the patch linked there. It seems that the code handling parenthesis had been moved to somewhere else. Where does it resides now? I want to try and patch it so it won't reverse parenthesis in hebrew. Thanks, Guy
Re: Parentheses keys are reversed in Hebrew
Am Fr., 19. Okt. 2018 um 08:24 Uhr schrieb Guy Rutenberg < guyrutenb...@gmail.com>: > 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 ( I get ) > instead, and vice-versa. This happens with all kinds of > bracketing including <>, [], {}. > > > I can see the logic behind this, treating logically as "opening > parenthesis" and 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? > Please comment here: https://www.lyx.org/trac/ticket/11191 We generally need to audit LyX's behavior with bracket/parens input in RTL, but we urgently need input from experienced users. Jürgen > > Thanks, > Guy >
Re: Parentheses keys are reversed in Hebrew
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 ( I get ) instead, and vice-versa. This happens with all kinds of bracketing including <>, [], {}. I can see the logic behind this, treating logically as "opening parenthesis" and 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 and ")" on . 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
Parentheses keys are reversed in Hebrew
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 ( I get ) instead, and vice-versa. This happens with all kinds of bracketing including <>, [], {}. I can see the logic behind this, treating logically as "opening parenthesis" and 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