Quantcast
Channel: SIL Language Software Community - Latest topics
Viewing all articles
Browse latest Browse all 649

Using "store" to achieve ´ + h > h́

$
0
0

Hello,

I am trying to use stores to achieve the letter h with an accent over it (h́ and H́). From what I can tell this only exists as a combined character, as opposed to a single unicode character such as ć or Ć.

This is what I had so far for my keyboard, which is based on the Latin American Keyboard, Source KeyboardID: 0000080a:

store(consonants_without_accent) U+0063 U+0043 U+0072 U+0052 U+0073 U+0053 c | c C r R s S
store(consonants_with_accent)    U+0107 U+0106 U+0155 U+0154 U+015B U+015A c | ć Ć ŕ Ŕ ś Ś
dk(00b4) any(consonants_without_accent) > index(consonants_with_accent, 2) 
c | use the "´" key to add the accent, just like the vowels. 

But it occurred to me that if I put U+0068 U+0048 in store(consonants_without_accent) but U+0068 U+0301 U+0048 U+0301 in store(consonants_with_accent), they will not be the same length. I tried typing U+0068_0301 and U+0068+0301 similar to touch layout syntax but Keyman Developer put 0301 in red, telling me that it didn’t like the syntax.

Is there a way for me to do this with stores? Or, do I need to do character substitution?

U+00B4 U+0068 > U+0068 U+0301
U+00B4 U+0048 > U+0048 U+0301

I tried looking around online for guidance but couldn’t find the right page.

Thanks for your help!

5 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 649

Trending Articles