Editing ISO-Latin and Unicode Characters

Entering Characters in Amaya

To enter ISO-Latin characters that are not directly available from the keyboard, Amaya uses the standard support provided by the Operating System. An optional multi-key support is also provided for Motif versions and Windows versions.

Amaya provides a mechanism for assigning Keyboard Shortcuts to characters that are not directly available from the keyboard. Some of them are pre-defined:

See the description of the standard input method: Standard multi-key for Unix versions.

About Unix Standard Multi-key Support

If an ISO-Latin character is unavailable on the standard keyboard, you can insert the character by pressing the special Compose key followed by a sequence of two other keys. See the table below for the keys used to insert various ISO-Latin characters. Note that in Amaya, you can switch the position of the first key and the second one.

If your keyboard doesn't contain the Compose key, you can attach it to an existing key such as Alt-Gr with the following xmodmap command:

keycode 113 = Multi_key

You can place this command in the $HOME/.Xmodmap file (in Unix), and Amaya will apply it when you will launch your X server.

Nom Code PremiΦre/Seconde touche Seconde/PremiΦre Touche Sortie
AElig 198 <Shift> A <Shift> E
Aacute 193 <Shift> A accent aigu
Acirc 194 <Shift> A accent circonflexe
Agrave 192 <Shift> A accent grave
Aring 197 <Shift> A Θtoile
Atilde 195 <Shift> A tilde
Auml 196 <Shift> A trΘma
Ccedil 199 <Shift> C cΘdille
Eth 222 - D
Eacute 201 <Shift> E accent aigu
Ecirc 202 <Shift> E accent circonflexe
Egrave 200 <Shift> E accent grave
Euml 203 <Shift> E trΘma
Iacute 205 <Shift> I accent aigu
Icirc 206 <Shift> I accent circonflexe
Igrave 204 <Shift> I accent grave
Iuml 207 <Shift> I trΘma
Ntilde 209 <Shift> N tilde
Oacute 211 <Shift> O accent aigu
Ocirc 212 <Shift> O accent circonflexe
Ograve 210 <Shift> O accent grave
Oslash 216 <Shift> O slash
Otilde 213 <Shift> O tilde
Ouml 214 <Shift> O trΘma
Thorn 222 <Shift> T <Shift> H
Uacute 205 <Shift> U accent aigu
Ucirc 206 <Shift> U accent circonflexe
Ugrave 204 <Shift> U accent grave
Uuml 207 <Shift> U trΘma
Yacute 221 <Shift> Y accent aigu
aelig 230 a e µ
aacute 225 a accent aigu ß
acirc 226 a accent circonflexe Γ
agrave 224 a accent grave α
aring 229 a Θtoile σ
atilde 227 a tilde π2
auml 228 a trΘma Σ
brvbar 166 bar (pipe) bar ª
ccedil 231 c cΘdille τ
cent 162 c slash ó
copy 169 c o
current 164 x o ñ
deg 176 accent circonflexe 0 (zΘro)
eacute 233 e accent aigu Θ
ecirc 234 e accent circonflexe Ω
egrave 232 e accent grave Φ
euml 235 e trΘma δ
eth 240 - d
frac12 189 / 2
frac14 188 / 4
frac34 190 / 3
hyphen 173 - (moins) - ¡
iacute 237 i accent aigu φ
icirc 238 i accent circonflexe ε
igrave 236 i accent grave
iexcl 161 ! (exclam) ! í
iquest 191 ? (question) ?
laquo 171 < (infΘrieur) < ½
macr 175 - (moins) accent circonflexe »
micro 181 / u
middot 183 . accent circonflexe
nbsp 160 <Ctrl> space (aucun) á
not 172 - (moins) cΘdille ¼
ntilde 241 n tilde ±
oacute 243 o accent aigu
ocirc 244 o accent circonflexe
ograve 242 o accent grave
oslash 248 o slash °
otilde 245 o tilde
ouml 246 o trΘma ÷
ordf 170 a _ (underscore) ¬
ordm 186 o _ (underscore)
para 182 <Shift> P ! (exclam)
plusmn 177 + - (moins)
pound 163 l - (moins) ú
raquo 187 > (supΘrieur) >
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 accent aigu ·
ucirc 251 u accent circonflexe
ugrave 249 u accent grave
uuml 252 u trΘma
yacute 253 y accent aigu ²
yen 165 y - (moins) Ñ
yuml 255 y trΘma  

About White Space Handling

Amaya removes insignificant white-space characters when it loads a document unless they must be explicitly preserved. This is true for XHTML, MathML, and SVG documents, as well as MathML or SVG elements included in a HTML document,

The following are considered as insignificant white-space characters:

To preserve all the characters for some elements, use the xml:space attribute or the PRE element (only valid for XHTML documents). The possible values for the xml:space attribute are default and preserve.

You apply the xml:space attribute to all elements within the content of the element where it is specified, unless it is overriden with another instance of the xml:space attribute.

In an XHTML DTD, the PRE element causes the same behavior as the xml:space attribute with the value preserve.

Amaya applies white space handling when it loads a document, not during editing. A consequence is that if you type insignificant white-space characters, they will be visible and saved but will be removed the next time the document is loaded. For example, the following source code:

<p>Amaya removes the <strong> insignificant white-space </strong>when it loads ...</p>

displays as follows during editing:

Amaya removes the insignificant white-space when it loads...

The text will be saved with that syntax. However, the next time the document is loaded, the text will display as:

Amaya removes theinsignificant white-spacewhen it loads...

because the leading and trailing spaces of the element <strong> are considered to be insignificant and are removed.

The correct source code would be:

<p>Amaya removes the <strong>insignificant white-space</strong> when it loads ...</p>