Compose key

From The Toaq Wiki
Revision as of 20:53, 4 November 2023 by Laqme (talk | contribs) (copy from Input methods)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

To input Toaq, you can set up a compose key on your computer, which will change the behavior of one of the keys on your keyboard to "compose" the next two keypresses into one character — for example CapsLock ' a becomes á.

On Linux, this might not even involve installing anything! Look for "compose key" plus your distro name. On Windows, WinCompose is pretty good.

Here's how to type Toaq-specific characters in the default ruleset. Compose means whatever key you have picked as your compose key (probably CapsLock or AltGr).

Character Combo
rising tone Compose ' vowel
glottal tone Compose " vowel
hiatus tone Compose ^ vowel
dotless i (ı) Compose . i
left quote («) Compose < <
right quote (») Compose > >

Then there are these supplemental definitions. WinCompose provides them by default; on Linux you’re going to have to add them yourself one-by-one or by sourcing [1]. That said you might not find them very convenient to type.

Character Combo
Compose V & Y
Compose v & y
combining underdot (like in ı̣) Compose \ !
"proper" ạ́ Compose ! a Compose \ '

You can edit ~/.XCompose and add your own combos as follows. If using WinCompose, the file is at C:\Users\yourname\.XCompose.

<Multi_key> <v> <y> : "ꝡ"
<Multi_key> <V> <Y> : "Ꝡ"
<Multi_key> <2> <a> : "ạ́"
<Multi_key> <2> <e> : "ẹ́"
<Multi_key> <2> <i> : "ị́"
<Multi_key> <2> <o> : "ọ́"
<Multi_key> <2> <u> : "ụ́"
<Multi_key> <3> <a> : "ạ̈"
<Multi_key> <3> <e> : "ẹ̈"
<Multi_key> <3> <i> : "ị̈"
<Multi_key> <3> <o> : "ọ̈"
<Multi_key> <3> <u> : "ụ̈"
<Multi_key> <4> <a> : "ậ"
<Multi_key> <4> <e> : "ệ"
<Multi_key> <4> <i> : "ị̂"
<Multi_key> <4> <o> : "ộ"
<Multi_key> <4> <u> : "ụ̂"
<Multi_key> <2> <A> : "Ạ́"
<Multi_key> <2> <E> : "Ẹ́"
<Multi_key> <2> <I> : "Ị́"
<Multi_key> <2> <O> : "Ọ́"
<Multi_key> <2> <U> : "Ụ́"
<Multi_key> <3> <A> : "Ạ̈"
<Multi_key> <3> <E> : "Ẹ̈"
<Multi_key> <3> <I> : "Ị̈"
<Multi_key> <3> <O> : "Ọ̈"
<Multi_key> <3> <U> : "Ụ̈"
<Multi_key> <4> <A> : "Ậ"
<Multi_key> <4> <E> : "Ệ"
<Multi_key> <4> <I> : "Ị̂"
<Multi_key> <4> <O> : "Ộ"
<Multi_key> <4> <U> : "Ụ̂"

See also