On 2009-02-20, Dotan Cohen wrote: ...
> I have several different keyboard layouts defined. I activate the > different keyboard layout and just start typing. The application > handles directionality. Many applications have directionality issues, > but I've never come across one in Linux that displayed text backwards > (in Hebrew or English). ... >> -> How could LyX guess whether I write German vs. English, or Russian vs. >> Bulgarian or Hebrew vs. Jiddish? > Here is where I think that the term "language" is important to _not_ > be used. It doesn't matter in what language I'm writing, For LyX (or LaTeX) it is important to know in what language you are writing. Not only the directionality, but also font encoding (while LyX uses Unicode by now, LaTeX does not) and hyphenation depend on this. > but different alphabets have different directionality. >> -> Write a script that does both, changing the system setting and passing >> language ... to the LyXserver. > No, from the characters, as stated above. Still, a keyboard switch "hotkey" could also be programmed to send a language changing command to lyx via the lyxserver. > ... I will ask on the Israeli Linux list about Lyx and LaTex in Hebrew. > I will file the appropriate bugs. Fine. I remember that one Israeli user reported to use an English keyboard setting on the system level together with the hebrew kmap in LyX, so this might be a starting point... Günter