# Entering ISO-Latin-1 characters in Amaya

## Defining shortcuts

The file `Amaya/bin/amaya.keyboard` defines the current accelerators.

## ISO-Latin-1 input support in Amaya

This document provides the complete list of keyboard input sequences allowing to enter all ISO-Latin-1 characters with a standard (e.g. North American) keyboard. These sequences were extracted from the X-Windows 11 rel 6 file describing the compose sequences for locale support of iso8859-1 standard, and therefore are expected to follow the appropriate standard (available in the file `/usr/X11R6/lib/X11/locale/iso8859-1/Compose`).

These input sequences are based on a three key sequence beginning with a modifier, the Alt key or the compose key depending on the keyboard type. For example, to obtain a `å' first press the Compose or Alt key, then type `a' and `*'. This principle also applies to capital letters: `È' is obtained by pressing Alt, then `e' with Shift pressed down, and the backquote key.

Notes :

- with Western European keyboards (like the French one) the keys commonly used for such sequences (like backquote, tilda, @ and backslash) are themselve obtained using the AltGr key plus another key, but these should work fine. `È' can be obtained on a French keyboard by entering the sequence <Alt>, <Shift> + `E', <AltGr> + `è', since backquote is mapped on <AltGr> `è'.
- When non-ascii characters are already mapped on the keyboard, this mapping should work fine with Amaya.
- The oelig (o and e ligature) and OElig (O and E ligature) are not part of the ISO-Latin-1, so Amaya cannot display them using the standard fonts. These characters are displayed as division sign for oelig and multiply sign for OElig.

## Rules for ISO-Latin-1 input

Most of the input sequences are based on the following rules:

- the grave accent on a character is obtained by composing the character with a quote: á is obtained with <Alt> a and quote.
- the acute accent on a character is obtained by composing the character with a backquote: à is obtained with <Alt> a and backquote.
- the ring accent on a character is obtained by composing the character with a star: å is obtained with <Alt> a and star.
- the tilde accent on a character is obtained by composing the character with a tilda: ã is obtained with <Alt> a and tilda.
- the circumflex accent on a character is obtained by composing the character with a circumflex: â is obtained with <Alt> a and circumflex.
- the cedilla on a character is obtained by composing the character with a comma: ç is obtained with <Alt> c and comma.
- the umlaut on a character is obtained by composing the character with double quote: ä is obtained with <Alt> a and double quote.
- slashed characters are obtained by composing them with a slash: ø is obtained with <Alt> o and slash.
- ligatures are obtained by composing the first letter with the second one: æ is obtained with <Alt> a and e.

### ISO-Latin-1 sequences table

name | number | first key | second key | Output
AElig | 198 | <Shift> A | <Shift> E | Æ
Aacute | 193 | <Shift> A | quote | Á
Acirc | 194 | <Shift> A | circumflex | Â
Agrave | 192 | <Shift> A | backquote | À
Aring | 197 | <Shift> A | star | Å
Atilde | 195 | <Shift> A | tilda | Ã
Auml | 196 | <Shift> A | double quote | Ä
Ccedil | 199 | <Shift> C | comma | Ç
Eth | 222 | - | D | Ð
Eacute | 201 | <Shift> E | quote | É
Ecirc | 202 | <Shift> E | circumflex | Ê
Egrave | 200 | <Shift> E | backquote | È
Euml | 203 | <Shift> E | double quote | Ë
Iacute | 205 | <Shift> I | quote | Í
Icirc | 206 | <Shift> I | circumflex | Î
Igrave | 204 | <Shift> I | backquote | Ì
Iuml | 207 | <Shift> I | double quote | Ï
Ntilde | 209 | <Shift> N | tilda | Ñ
Oacute | 211 | <Shift> O | quote | Ó
Ocirc | 212 | <Shift> O | circumflex | Ô
Ograve | 210 | <Shift> O | backquote | Ò
Oslash | 216 | <Shift> O | slash | Ø
Otilde | 213 | <Shift> O | tilda | Õ
Ouml | 214 | <Shift> O | double quote | Ö
Thorn | 222 | <Shift> T | <Shift> H | Þ
Uacute | 205 | <Shift> U | quote | Ú
Ucirc | 206 | <Shift> U | circumflex | Û
Ugrave | 204 | <Shift> U | backquote | Ù
Uuml | 207 | <Shift> U | double quote | Ü
Yacute | 221 | <Shift> Y | quote | Ý
aelig | 230 | a | e | æ
aacute | 225 | a | quote | á
acirc | 226 | a | circumflex | â
agrave | 224 | a | backquote | à
aring | 229 | a | star | å
atilde | 227 | a | tilda | ã
auml | 228 | a | double quote | ä
brvbar | 166 | bar (pipe) | bar | ¦
ccedil | 231 | c | comma | ç
cent | 162 | c | slash | ¢
copy | 169 | c | o | ©
current | 164 | x | o | ¤
deg | 176 | circumflex | 0 (zero) | °
eacute | 233 | e | quote | é
ecirc | 234 | e | circumflex | ê
egrave | 232 | e | backquote | è
euml | 235 | e | double quote | ë
eth | 240 | - | d | ð
frac12 | 189 | / | 2 | ½
frac14 | 188 | / | 4 | ¼
frac34 | 190 | / | 3 | ¾
hyphen | 173 | - (minus) | - | ‐
iacute | 237 | i | quote | í
icirc | 238 | i | circumflex | î
igrave | 236 | i | backquote | ì
iexcl | 161 | ! (exclam) | ! | ¡
iquest | 191 | ? (question) | ? | ¿
laquo | 171 | < (inferior) | < | «
macr | 175 | - (minus) | circumflex | ¯
micro | 181 | / | u | µ
middot | 183 | . | circumflex | ·
nbsp | 160 | <Ctrl> space | (none) |
not | 172 | - (minus) | comma | ¬
ntilde | 241 | n | tilda | ñ
oacute | 243 | o | quote | ó
ocirc | 244 | o | circumflex | ô
ograve | 242 | o | backquote | ò
oslash | 248 | o | slash | ø
otilde | 245 | o | tilda | õ
ouml | 246 | o | double quote | ö
ordf | 170 | a | _ (underscore) | ª
ordm | 186 | o | _ (underscore) | º
para | 182 | <Shift> P | ! (exclam) | ¶
plusmn | 177 | + | - (minus) | ±
pound | 163 | l | - (minus) | £
raquo | 187 | > (superior) | > | »
reg | 174 | <Shift> R | <Shift> O | ®
sec | 167 | s | ! (exclam) | §
sup1 | 185 | s | 1 | ¹
sup2 | 178 | s | 2 | ²
sup3 | 179 | s | 3 | ³
szlig | 223 | s | s | ß
thorn | 254 | t | h | þ
uacute | 250 | u | quote | ú
ucirc | 251 | u | circumflex | û
ugrave | 249 | u | backquote | ù
uuml | 252 | u | double quote | ü
yacute | 253 | y | quote | ý
yen | 165 | y | - (minus) | ¥
yuml | 255 | y | double quote | ÿ