Greetings, Paul. You wrote on Wednesday, May 11, 2005, 7:48:42 PM:
> Can you please tell me how you make lyx type in the Russian characters? > I want to show people how, but can't understand it myself. I am able > to turn on lyx with the Russian menu words, but can't find a way to > input Cyrillic characters. That's easy, provided you have the Russian locale installed on your Linux machine (you can check by typing "locale -a | grep -i ru" -- w/o the quotes, and look for smth like "ru" or "koi8"). Modern distros might have Russian utf8 locale installed, but I'm not sure if it'll work, since LyX does not support Unicode. There are two ways to input Cyrillic in LyX. Both require that you specify Russian as Language and koi8-r as the encoding in the Document -> Layout dialog. After that the first option is to configure X, and use the system-wide XKB module to switch keyboard layouts globally for all apps (including LyX). You can configure your X server in the following manner. Search for the "InputDevice" section in your XF86Config (or whatever file you're using), where Keyboard configuration is, and add this two lines: Option "XkbLayout" "us,ru" Option "XkbOptions" "grp:alt_shift_toggle" ...then restart X and try to switch between Russian and English layouts by pressing Alt+Left_Shift. The second option is to point to Preferences -> Keyboard (afair), and check the "Use keyboard maps" option. This way LyX will not use the global XKB keymap switching, but rather its own, native kmaps. Then use smth like null.kmap (or american.kmap) as the first one, and smth like koi8-r.kmap as the second one. Usually you can do the switching by hitting M_K 1 or M_K 2 (hit Alt then K then 1 or 2). That's it, you're all set. Hope it helps. You might also want to read Customization.lyx about Xmodmap and various keyboard layouts. Yet another way. -- Best Regards, Andrei Popov Using LyX 1.3.4 on Linux
