home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="iso-8859-1"?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
- <title>Editing ISO-Latin and Unicode Characters</title>
- <style type="text/css">
- </style>
- <link href="style.css" rel="stylesheet" type="text/css" />
- </head>
-
- <body xml:lang="en" lang="en">
-
- <div>
- <img alt="Amaya" src="../../resources/icons/22x22/logo.png" class="logo" />
-
- <p class="nav"><a href="Attributes.html" accesskey="p"><img alt="previous"
- src="../../resources/icons/misc/left.png" /></a> <a href="Manual.html"
- accesskey="t"><img alt="top" src="../../resources/icons/misc/up.png" /></a>
- <a href="Changing.html" accesskey="n"><img alt="next"
- src="../../resources/icons/misc/right.png" /></a></p>
- </div>
-
- <div id="page_body">
- <h2>Editing ISO-Latin and Unicode Characters</h2>
-
- <h3>Entering Characters in Amaya</h3>
-
- <p>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.</p>
-
- <p>Amaya provides a mechanism for assigning <a
- href="../html/ShortCuts.html">Keyboard Shortcuts</a> to characters that are
- not directly available from the keyboard. Some of them are pre-defined:</p>
- <ul>
- <li>To enter a non-breaking space, press <code>Control - space</code>.
- <p>This character will be saved as an entity (<span class="code"><span
- style="font-size: 11.0pt;font-family:"Courier New";"><code> </code></span></span>)
- and is displayed in the source view with the following colored character:
- <span style="color: #008BB2">~</span></p>
- </li>
- <li>To enter a € (euro) character, press <code>Alt - e</code>.</li>
- <li>To enter a œ (oelig), press <code>Control - o</code> the
- <code>Control - e</code>.</li>
- <li>To enter a Œ (OElig), press <code>Shift - Control - O</code> then
- <code>Shift - Control - e</code>.</li>
- <li>To enter a ½, press either <code>Control - <</code> or Shift -
- <code>Control - <</code> (it depends on your keyboard).</li>
- <li>To enter a ╗, press <code>Shift - Control - ></code>.</li>
- </ul>
-
- <p>See the description of the standard input method: Standard multi-key for
- Unix versions.</p>
-
- <h3>About Unix Standard Multi-key Support</h3>
-
- <p>If an ISO-Latin character is unavailable on the standard keyboard, you can
- insert the character by pressing the special <code>Compose</code> 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.</p>
-
- <p>If your keyboard doesn't contain the <code>Compose</code> key, you can
- attach it to an existing key such as <code>Alt-Gr</code> with the following
- <code>xmodmap</code> command:</p>
-
- <p><code>keycode 113 = Multi_key</code></p>
-
- <p>You can place this command in the <code>$HOME/.Xmodmap</code> file (in
- Unix), and Amaya will apply it when you will launch your X server.</p>
-
- <table border="1" summary="Latin-1 sequences">
- <tbody style="background-color: #EFFFC1">
- <tr style="background-color: #FFCB69">
- <td>Nom</td>
- <td>Code</td>
- <td>PremiΦre/Seconde touche</td>
- <td>Seconde/PremiΦre Touche</td>
- <td>Sortie</td>
- </tr>
- <tr>
- <td class="name">AElig</td>
- <td>198</td>
- <td><Shift> A</td>
- <td><Shift> E</td>
- <td>╞</td>
- </tr>
- <tr>
- <td class="name">Aacute</td>
- <td>193</td>
- <td><Shift> A</td>
- <td>accent aigu</td>
- <td>┴</td>
- </tr>
- <tr>
- <td class="name">Acirc</td>
- <td>194</td>
- <td><Shift> A</td>
- <td>accent circonflexe</td>
- <td>┬</td>
- </tr>
- <tr>
- <td class="name">Agrave</td>
- <td>192</td>
- <td><Shift> A</td>
- <td>accent grave</td>
- <td>└</td>
- </tr>
- <tr>
- <td class="name">Aring</td>
- <td>197</td>
- <td><Shift> A</td>
- <td>Θtoile</td>
- <td>┼</td>
- </tr>
- <tr>
- <td class="name">Atilde</td>
- <td>195</td>
- <td><Shift> A</td>
- <td>tilde</td>
- <td>├</td>
- </tr>
- <tr>
- <td class="name">Auml</td>
- <td>196</td>
- <td><Shift> A</td>
- <td>trΘma</td>
- <td>─</td>
- </tr>
- <tr>
- <td class="name">Ccedil</td>
- <td>199</td>
- <td><Shift> C</td>
- <td>cΘdille</td>
- <td>╟</td>
- </tr>
- <tr>
- <td class="name">Eth</td>
- <td>222</td>
- <td>-</td>
- <td>D</td>
- <td>╨</td>
- </tr>
- <tr>
- <td class="name">Eacute</td>
- <td>201</td>
- <td><Shift> E</td>
- <td>accent aigu</td>
- <td>╔</td>
- </tr>
- <tr>
- <td class="name">Ecirc</td>
- <td>202</td>
- <td><Shift> E</td>
- <td>accent circonflexe</td>
- <td>╩</td>
- </tr>
- <tr>
- <td class="name">Egrave</td>
- <td>200</td>
- <td><Shift> E</td>
- <td>accent grave</td>
- <td>╚</td>
- </tr>
- <tr>
- <td class="name">Euml</td>
- <td>203</td>
- <td><Shift> E</td>
- <td>trΘma</td>
- <td>╦</td>
- </tr>
- <tr>
- <td class="name">Iacute</td>
- <td>205</td>
- <td><Shift> I</td>
- <td>accent aigu</td>
- <td>═</td>
- </tr>
- <tr>
- <td class="name">Icirc</td>
- <td>206</td>
- <td><Shift> I</td>
- <td>accent circonflexe</td>
- <td>╬</td>
- </tr>
- <tr>
- <td class="name">Igrave</td>
- <td>204</td>
- <td><Shift> I</td>
- <td>accent grave</td>
- <td>╠</td>
- </tr>
- <tr>
- <td class="name">Iuml</td>
- <td>207</td>
- <td><Shift> I</td>
- <td>trΘma</td>
- <td>╧</td>
- </tr>
- <tr>
- <td class="name">Ntilde</td>
- <td>209</td>
- <td><Shift> N</td>
- <td>tilde</td>
- <td>╤</td>
- </tr>
- <tr>
- <td class="name">Oacute</td>
- <td>211</td>
- <td><Shift> O</td>
- <td>accent aigu</td>
- <td>╙</td>
- </tr>
- <tr>
- <td class="name">Ocirc</td>
- <td>212</td>
- <td><Shift> O</td>
- <td>accent circonflexe</td>
- <td>╘</td>
- </tr>
- <tr>
- <td class="name">Ograve</td>
- <td>210</td>
- <td><Shift> O</td>
- <td>accent grave</td>
- <td>╥</td>
- </tr>
- <tr>
- <td class="name">Oslash</td>
- <td>216</td>
- <td><Shift> O</td>
- <td>slash</td>
- <td>╪</td>
- </tr>
- <tr>
- <td class="name">Otilde</td>
- <td>213</td>
- <td><Shift> O</td>
- <td>tilde</td>
- <td>╒</td>
- </tr>
- <tr>
- <td class="name">Ouml</td>
- <td>214</td>
- <td><Shift> O</td>
- <td>trΘma</td>
- <td>╓</td>
- </tr>
- <tr>
- <td class="name">Thorn</td>
- <td>222</td>
- <td><Shift> T</td>
- <td><Shift> H</td>
- <td>▐</td>
- </tr>
- <tr>
- <td class="name">Uacute</td>
- <td>205</td>
- <td><Shift> U</td>
- <td>accent aigu</td>
- <td>┌</td>
- </tr>
- <tr>
- <td class="name">Ucirc</td>
- <td>206</td>
- <td><Shift> U</td>
- <td>accent circonflexe</td>
- <td>█</td>
- </tr>
- <tr>
- <td class="name">Ugrave</td>
- <td>204</td>
- <td><Shift> U</td>
- <td>accent grave</td>
- <td>┘</td>
- </tr>
- <tr>
- <td class="name">Uuml</td>
- <td>207</td>
- <td><Shift> U</td>
- <td>trΘma</td>
- <td>▄</td>
- </tr>
- <tr>
- <td class="name">Yacute</td>
- <td>221</td>
- <td><Shift> Y</td>
- <td>accent aigu</td>
- <td>▌</td>
- </tr>
- <tr>
- <td class="name">aelig</td>
- <td>230</td>
- <td>a</td>
- <td>e</td>
- <td>µ</td>
- </tr>
- <tr>
- <td class="name">aacute</td>
- <td>225</td>
- <td>a</td>
- <td>accent aigu</td>
- <td>ß</td>
- </tr>
- <tr>
- <td class="name">acirc</td>
- <td>226</td>
- <td>a</td>
- <td>accent circonflexe</td>
- <td>Γ</td>
- </tr>
- <tr>
- <td class="name">agrave</td>
- <td>224</td>
- <td>a</td>
- <td>accent grave</td>
- <td>α</td>
- </tr>
- <tr>
- <td class="name">aring</td>
- <td>229</td>
- <td>a</td>
- <td>Θtoile</td>
- <td>σ</td>
- </tr>
- <tr>
- <td class="name">atilde</td>
- <td>227</td>
- <td>a</td>
- <td>tilde</td>
- <td>π2</td>
- </tr>
- <tr>
- <td class="name">auml</td>
- <td>228</td>
- <td>a</td>
- <td>trΘma</td>
- <td>Σ</td>
- </tr>
- <tr>
- <td class="name">brvbar</td>
- <td>166</td>
- <td>bar (pipe)</td>
- <td>bar</td>
- <td>ª</td>
- </tr>
- <tr>
- <td class="name">ccedil</td>
- <td>231</td>
- <td>c</td>
- <td>cΘdille</td>
- <td>τ</td>
- </tr>
- <tr>
- <td class="name">cent</td>
- <td>162</td>
- <td>c</td>
- <td>slash</td>
- <td>ó</td>
- </tr>
- <tr>
- <td class="name">copy</td>
- <td>169</td>
- <td>c</td>
- <td>o</td>
- <td>⌐</td>
- </tr>
- <tr>
- <td class="name">current</td>
- <td>164</td>
- <td>x</td>
- <td>o</td>
- <td>ñ</td>
- </tr>
- <tr>
- <td class="name">deg</td>
- <td>176</td>
- <td>accent circonflexe</td>
- <td>0 (zΘro)</td>
- <td>░</td>
- </tr>
- <tr>
- <td class="name">eacute</td>
- <td>233</td>
- <td>e</td>
- <td>accent aigu</td>
- <td>Θ</td>
- </tr>
- <tr>
- <td class="name">ecirc</td>
- <td>234</td>
- <td>e</td>
- <td>accent circonflexe</td>
- <td>Ω</td>
- </tr>
- <tr>
- <td class="name">egrave</td>
- <td>232</td>
- <td>e</td>
- <td>accent grave</td>
- <td>Φ</td>
- </tr>
- <tr>
- <td class="name">euml</td>
- <td>235</td>
- <td>e</td>
- <td>trΘma</td>
- <td>δ</td>
- </tr>
- <tr>
- <td class="name">eth</td>
- <td>240</td>
- <td>-</td>
- <td>d</td>
- <td>≡</td>
- </tr>
- <tr>
- <td class="name">frac12</td>
- <td>189</td>
- <td>/</td>
- <td>2</td>
- <td>╜</td>
- </tr>
- <tr>
- <td class="name">frac14</td>
- <td>188</td>
- <td>/</td>
- <td>4</td>
- <td>╝</td>
- </tr>
- <tr>
- <td class="name">frac34</td>
- <td>190</td>
- <td>/</td>
- <td>3</td>
- <td>╛</td>
- </tr>
- <tr>
- <td class="name">hyphen</td>
- <td>173</td>
- <td>- (moins)</td>
- <td>-</td>
- <td>¡</td>
- </tr>
- <tr>
- <td class="name">iacute</td>
- <td>237</td>
- <td>i</td>
- <td>accent aigu</td>
- <td>φ</td>
- </tr>
- <tr>
- <td class="name">icirc</td>
- <td>238</td>
- <td>i</td>
- <td>accent circonflexe</td>
- <td>ε</td>
- </tr>
- <tr>
- <td class="name">igrave</td>
- <td>236</td>
- <td>i</td>
- <td>accent grave</td>
- <td>∞</td>
- </tr>
- <tr>
- <td class="name">iexcl</td>
- <td>161</td>
- <td>! (exclam)</td>
- <td>!</td>
- <td>í</td>
- </tr>
- <tr>
- <td class="name">iquest</td>
- <td>191</td>
- <td>? (question)</td>
- <td>?</td>
- <td>┐</td>
- </tr>
- <tr>
- <td class="name">laquo</td>
- <td>171</td>
- <td>< (infΘrieur)</td>
- <td><</td>
- <td>½</td>
- </tr>
- <tr>
- <td class="name">macr</td>
- <td>175</td>
- <td>- (moins)</td>
- <td>accent circonflexe</td>
- <td>»</td>
- </tr>
- <tr>
- <td class="name">micro</td>
- <td>181</td>
- <td>/</td>
- <td>u</td>
- <td>╡</td>
- </tr>
- <tr>
- <td class="name">middot</td>
- <td>183</td>
- <td>.</td>
- <td>accent circonflexe</td>
- <td>╖</td>
- </tr>
- <tr>
- <td class="name">nbsp</td>
- <td>160</td>
- <td><Ctrl> space</td>
- <td>(aucun)</td>
- <td>á</td>
- </tr>
- <tr>
- <td class="name">not</td>
- <td>172</td>
- <td>- (moins)</td>
- <td>cΘdille</td>
- <td>¼</td>
- </tr>
- <tr>
- <td class="name">ntilde</td>
- <td>241</td>
- <td>n</td>
- <td>tilde</td>
- <td>±</td>
- </tr>
- <tr>
- <td class="name">oacute</td>
- <td>243</td>
- <td>o</td>
- <td>accent aigu</td>
- <td>≤</td>
- </tr>
- <tr>
- <td class="name">ocirc</td>
- <td>244</td>
- <td>o</td>
- <td>accent circonflexe</td>
- <td>⌠</td>
- </tr>
- <tr>
- <td class="name">ograve</td>
- <td>242</td>
- <td>o</td>
- <td>accent grave</td>
- <td>≥</td>
- </tr>
- <tr>
- <td class="name">oslash</td>
- <td>248</td>
- <td>o</td>
- <td>slash</td>
- <td>°</td>
- </tr>
- <tr>
- <td class="name">otilde</td>
- <td>245</td>
- <td>o</td>
- <td>tilde</td>
- <td>⌡</td>
- </tr>
- <tr>
- <td class="name">ouml</td>
- <td>246</td>
- <td>o</td>
- <td>trΘma</td>
- <td>÷</td>
- </tr>
- <tr>
- <td class="name">ordf</td>
- <td>170</td>
- <td>a</td>
- <td>_ (underscore)</td>
- <td>¬</td>
- </tr>
- <tr>
- <td class="name">ordm</td>
- <td>186</td>
- <td>o</td>
- <td>_ (underscore)</td>
- <td>║</td>
- </tr>
- <tr>
- <td class="name">para</td>
- <td>182</td>
- <td><Shift> P</td>
- <td>! (exclam)</td>
- <td>╢</td>
- </tr>
- <tr>
- <td class="name">plusmn</td>
- <td>177</td>
- <td>+</td>
- <td>- (moins)</td>
- <td>▒</td>
- </tr>
- <tr>
- <td class="name">pound</td>
- <td>163</td>
- <td>l</td>
- <td>- (moins)</td>
- <td>ú</td>
- </tr>
- <tr>
- <td class="name">raquo</td>
- <td>187</td>
- <td>> (supΘrieur)</td>
- <td>></td>
- <td>╗</td>
- </tr>
- <tr>
- <td class="name">reg</td>
- <td>174</td>
- <td><Shift> R</td>
- <td><Shift> O</td>
- <td>«</td>
- </tr>
- <tr>
- <td class="name">sec</td>
- <td>167</td>
- <td>s</td>
- <td>! (exclam)</td>
- <td>º</td>
- </tr>
- <tr>
- <td class="name">sup1</td>
- <td>185</td>
- <td>s</td>
- <td>1</td>
- <td>╣</td>
- </tr>
- <tr>
- <td class="name">sup2</td>
- <td>178</td>
- <td>s</td>
- <td>2</td>
- <td>▓</td>
- </tr>
- <tr>
- <td class="name">sup3</td>
- <td>179</td>
- <td>s</td>
- <td>3</td>
- <td>│</td>
- </tr>
- <tr>
- <td class="name">szlig</td>
- <td>223</td>
- <td>s</td>
- <td>s</td>
- <td>▀</td>
- </tr>
- <tr>
- <td class="name">thorn</td>
- <td>254</td>
- <td>t</td>
- <td>h</td>
- <td>■</td>
- </tr>
- <tr>
- <td class="name">uacute</td>
- <td>250</td>
- <td>u</td>
- <td>accent aigu</td>
- <td>·</td>
- </tr>
- <tr>
- <td class="name">ucirc</td>
- <td>251</td>
- <td>u</td>
- <td>accent circonflexe</td>
- <td>√</td>
- </tr>
- <tr>
- <td class="name">ugrave</td>
- <td>249</td>
- <td>u</td>
- <td>accent grave</td>
- <td>∙</td>
- </tr>
- <tr>
- <td class="name">uuml</td>
- <td>252</td>
- <td>u</td>
- <td>trΘma</td>
- <td>ⁿ</td>
- </tr>
- <tr>
- <td class="name">yacute</td>
- <td>253</td>
- <td>y</td>
- <td>accent aigu</td>
- <td>²</td>
- </tr>
- <tr>
- <td class="name">yen</td>
- <td>165</td>
- <td>y</td>
- <td>- (moins)</td>
- <td>Ñ</td>
- </tr>
- <tr>
- <td class="name">yuml</td>
- <td>255</td>
- <td>y</td>
- <td>trΘma</td>
- <td> </td>
- </tr>
- </tbody>
- </table>
-
- <h3>About White Space Handling</h3>
-
- <p>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,</p>
-
- <p>The following are considered as insignificant white-space characters:</p>
- <ul>
- <li>End of line characters (<code>#xD</code> and <code>#xA</code>)</li>
- <li>Tab characters (<code>#X9</code>)</li>
- <li>Leading spaces of an element</li>
- <li>Trailing spaces of an element</li>
- <li>Contiguous spaces (one space is preserved)</li>
- </ul>
-
- <p>To preserve all the characters for some elements, use the
- <code>xml:space</code> attribute or the <code>PRE</code> element (only valid
- for XHTML documents). The possible values for the <code>xml:space</code>
- attribute are <code>default</code> and <code>preserve</code>.</p>
- <ul>
- <li>The value <code>default</code> means that an applications' default
- white-space treatment is acceptable for these elements. In Amaya, the
- default treatment removes the insignificant white-space characters for
- all supported DTDs (see above).
- <p></p>
- </li>
- <li>The value <code>preserve</code> indicates that applications will
- preserve all the characters, except the first one that immediately
- follows the end tag of the element where it is specified, if that element
- is an end of line.</li>
- </ul>
-
- <p>You apply the <code>xml:space</code> attribute to all elements within the
- content of the element where it is specified, unless it is overriden with
- another instance of the <code>xml:space</code> attribute.</p>
-
- <p>In an XHTML DTD, the <code>PRE</code> element causes the same behavior as
- the <code>xml:space</code> attribute with the value <code>preserve</code>.</p>
-
- <p>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>
-
- <p><code><p>Amaya removes the <strong> insignificant white-space
- </strong>when it loads ...</p></code></p>
-
- <p>displays as follows during editing:</p>
-
- <p><code>Amaya removes the <strong>insignificant white-space</strong> when it
- loads...</code></p>
-
- <p>The text will be saved with that syntax. However, the next time the
- document is loaded, the text will display as:</p>
-
- <p><code>Amaya removes the<strong>insignificant white-space</strong>when it
- loads...</code></p>
-
- <p>because the leading and trailing spaces of the element
- <code><strong></code> are considered to be insignificant and are
- removed.</p>
-
- <p>The correct source code would be:</p>
-
- <p><code><p>Amaya removes the <strong>insignificant
- white-space</strong> when it loads ...</p></code></p>
-
- <p></p>
- </div>
- </body>
- </html>
-