On 2009-02-23, Dotan Cohen wrote: >> 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.
> I see, I did not realize that LaTeX does not support unicode. I > suppose that it never will, from what I've been reading the past few > days it looks like there will be no new features added. The TeX descendant XeTeX fully supports Unicode and OpenFont fonts. It is currently not directly supported by LyX (but workarounds exist, search wiki.lyx.org). >> Still, a keyboard switch "hotkey" could also be programmed to send a >> language changing command to lyx via the lyxserver. > I would very much like to know how to do that. This depends on your OS and Desktop. Some desktops allow keybindings to start a specified command: now this command could be a script performing both tasks. * The lyxserver is described in the LyX documentation. I use it from Python with my "PyLyX" package (http://wiki.lyx.org/Tools/PyClient). * I do not know anything about keyboard layout switching except that there are programms/commands doing this. >> 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... > Would you happen to know his name, email address, or a text snippet > that I could google to find his post? If I remember right, it was Dekel Tsur responding to my suggestion to drop support of kmaps in LyX some years ago. But looking in Help>Configuration for kmaps and in the LYXDIR for hebrew.kmap will help. Günter