[identity profile] sbgskl.livejournal.com posting in [community profile] learn_russian
How can I type cyrillic vowels with stress marks in linux? Particularly Ubuntu. I have russian keyboard layout setup and working, just need to figure out the stress marks.

Date: 2009-01-19 06:14 am (UTC)
From: [identity profile] zauberer.livejournal.com
Russian keyboard layouts both in Linux and Windows don't have stressed vowels. Some people type latin accented vowels instead, but the right way to do it, I suppose, is to use combined Unicode characters (but I don't know how to type them in Linux, sorry).

Date: 2009-01-19 06:49 am (UTC)
From: [identity profile] swix.livejournal.com
We do not use stressed vowels in everyday typing so there are none in regular Russian keyboard layout (at least X.Org one). As far as I can imagine you need that for some "linguistic" purpose. In this case the best way to input literally _everything_ you may occasionally need would be LaTeX. Typing stress marks is really simple there. Besides you may use IPA without any hassles.. That's what I use in Linux.

Date: 2009-01-19 06:57 am (UTC)
From: [identity profile] pzrk.livejournal.com
If you use HTML, write ́ after the character to set the stress mark:
а́ е́ и́ о́ у́ ы́ э́ ю́ я́
It is the Unicode character U+0301 (CC 80 in UTF-8).

Date: 2009-01-19 07:37 am (UTC)
From: [identity profile] khathi.livejournal.com
Actually, there are NO accented Cyrillic characters in most charsets, IIRC, as they aren't used in normal writing -- only in teching materials and dictionaries. But Unicode has a postfix accent character, which, IIRC, could be entered by "Compose" key -- you just type [Compose]-[Letter]-[Apostrophe] and get an accented letter. Look at X.Org keyboard driver settings, there is a checkbox that turns Compose key on.

Date: 2009-01-19 09:00 am (UTC)

Date: 2009-01-19 11:38 am (UTC)
From: [identity profile] khathi.livejournal.com
Well, that's another problem... ;) Sorry, I don't have a working install of Ubuntu right now and here, but I'll check it once more tomorrow.

Date: 2009-01-19 12:21 pm (UTC)
From: [identity profile] edricson.livejournal.com
In the preamble:

\usepackage{ucs}
\usepackage[utf8x]{inputenc} % assuming you are using a UTF-8 locale, which you most probably are
\usepackage[T2A]{fontenc}
\usepackage[russian]{babel} %optional

In the body:

\'{а}, \'{ю} % much as you would do it for Latin characters

Date: 2009-01-19 08:29 pm (UTC)
oryx_and_crake: (Default)
From: [personal profile] oryx_and_crake
Switch to English layout, type an apostrophe and switch back.

Date: 2009-01-19 08:32 pm (UTC)
oryx_and_crake: (Default)
From: [personal profile] oryx_and_crake
Someone who wished to remain anonymous asked me to post this:

1. Run im-switch -c, choose default-xim.
2. Edit (create if needed) your ~/.XCompose. First, include your standard compose settings:

include "/usr/share/X11/locale/en_US.UTF-8/Compose"



and then add your own settings. I use this line:

: "́" U0301 # ударение



Please note that there's a live combining stress/acute mark (Unicode 0x0301) between the quotes! I don't know how to define this setting in 7-bit ASCII. You may just copy the line and paste it into your Unicode-aware editor of choice (vim and nano both work just fine).

Now Restart X11. To type a stressed vowel, type the vowel and then, while holding your compose key, press apostrophe twice.

You can add other mappings to your ~/.XCompose, but most of what you need, like quotes «» or long dash —, is already in the default compose file. Read it.

I don't know what the default compose key in Gnome is, or how to set it (I use KDE). Check your keyboard settings dialog. I think you may map Win or RightCtrl or RightAlt or CapsLock to serve as compose key. You probably can also do this in /etc/X11/xorg.conf by adding something like

Option "XkbOptions" "compose:rwin"



to your keyboard section.

Hope this helped.

Date: 2009-01-19 09:14 pm (UTC)
From: [identity profile] anonymous8216.livejournal.com
This is the anonymous guy who tried to be helpful.

There's a technical problem with the parent comment. A piece of text is missing due to incorrectly placed <> symbols (stupid me, forgot that <> can't be copied-and-pasted in LJ!) I will repeat the missing fragment below.

and then add your own settings. I use this line:
<Multi_key> <apostrophe> <apostrophe> : "́" U0301 # ударение

Please note that there's a live combining stress/acute mark (Unicode 0x0301) between the quotes! I don't know how to define this setting in 7-bit ASCII. You may just copy the line and paste it into your Unicode-aware editor of choice (vim and nano both work just fine).


Sorry for the inconvenience.

Date: 2009-01-19 09:21 pm (UTC)
From: [identity profile] anonymous8216.livejournal.com
Oh, and you can use any key instead of the apostrophe. E.g. if you don't have the apostrophe in your Russian layout, use the double quote (the code is <quotedbl>) or comma (<comma>) or slash (<slash>), or whatever is convenient.
Page generated Jan. 27th, 2026 06:34 am
Powered by Dreamwidth Studios