home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 May / Gamestar_73_2005-05_dvd.iso / Programy / amaya / amaya-WinXP-9.1.exe / doc / WX / EditChar.html < prev    next >
Encoding:
Extensible Markup Language  |  2005-02-23  |  19.1 KB  |  789 lines

  1. <?xml version="1.0" encoding="iso-8859-1"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  3.        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml">
  5. <head>
  6.   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  7.   <title>Editing ISO-Latin and Unicode Characters</title>
  8.   <style type="text/css">
  9.   </style>
  10.   <link href="style.css" rel="stylesheet" type="text/css" />
  11. </head>
  12.  
  13. <body xml:lang="en" lang="en">
  14.  
  15. <div>
  16. <img alt="Amaya" src="../../resources/icons/22x22/logo.png" class="logo" />
  17.  
  18. <p class="nav"><a href="Attributes.html" accesskey="p"><img alt="previous"
  19. src="../../resources/icons/misc/left.png" /></a> <a href="Manual.html"
  20. accesskey="t"><img alt="top" src="../../resources/icons/misc/up.png" /></a>
  21. <a href="Changing.html" accesskey="n"><img alt="next"
  22. src="../../resources/icons/misc/right.png" /></a></p>
  23. </div>
  24.  
  25. <div id="page_body">
  26. <h2>Editing ISO-Latin and Unicode Characters</h2>
  27.  
  28. <h3>Entering Characters in Amaya</h3>
  29.  
  30. <p>To enter ISO-Latin characters that are not directly available from the
  31. keyboard, Amaya uses the standard support provided by the Operating System.
  32. An optional multi-key support is also provided for Motif versions and Windows
  33. versions.</p>
  34.  
  35. <p>Amaya provides a mechanism for assigning <a
  36. href="../html/ShortCuts.html">Keyboard Shortcuts</a> to characters that are
  37. not directly available from the keyboard. Some of them are pre-defined:</p>
  38. <ul>
  39.   <li>To enter a non-breaking space, press <code>Control - space</code>.
  40.     <p>This character will be saved as an entity (<span class="code"><span
  41.     style="font-size: 11.0pt;font-family:"Courier New";"><code>&nbsp;</code></span></span>)
  42.     and is displayed in the source view with the following colored character:
  43.     <span style="color: #008BB2">~</span></p>
  44.   </li>
  45.   <li>To enter a € (euro) character, press <code>Alt - e</code>.</li>
  46.   <li>To enter a œ (oelig), press <code>Control - o</code> the
  47.     <code>Control - e</code>.</li>
  48.   <li>To enter a Œ (OElig), press <code>Shift - Control - O</code> then
  49.     <code>Shift - Control - e</code>.</li>
  50.   <li>To enter a ½, press either <code>Control - <</code> or Shift -
  51.     <code>Control - <</code> (it depends on your keyboard).</li>
  52.   <li>To enter a ╗, press <code>Shift - Control - ></code>.</li>
  53. </ul>
  54.  
  55. <p>See the description of the standard input method: Standard multi-key for
  56. Unix versions.</p>
  57.  
  58. <h3>About Unix Standard Multi-key Support</h3>
  59.  
  60. <p>If an ISO-Latin character is unavailable on the standard keyboard, you can
  61. insert the character by pressing the special <code>Compose</code> key
  62. followed by a sequence of two other keys. See the table below for the keys
  63. used to insert various ISO-Latin characters. Note that in Amaya, you can
  64. switch the position of the first key and the second one.</p>
  65.  
  66. <p>If your keyboard doesn't contain the <code>Compose</code> key, you can
  67. attach it to an existing key such as <code>Alt-Gr</code> with the following
  68. <code>xmodmap</code> command:</p>
  69.  
  70. <p><code>keycode 113 = Multi_key</code></p>
  71.  
  72. <p>You can place this command in the <code>$HOME/.Xmodmap</code> file (in
  73. Unix), and Amaya will apply it when you will launch your X server.</p>
  74.  
  75. <table border="1" summary="Latin-1 sequences">
  76.   <tbody style="background-color: #EFFFC1">
  77.     <tr style="background-color: #FFCB69">
  78.       <td>Nom</td>
  79.       <td>Code</td>
  80.       <td>PremiΦre/Seconde touche</td>
  81.       <td>Seconde/PremiΦre Touche</td>
  82.       <td>Sortie</td>
  83.     </tr>
  84.     <tr>
  85.       <td class="name">AElig</td>
  86.       <td>198</td>
  87.       <td><Shift> A</td>
  88.       <td><Shift> E</td>
  89.       <td>╞</td>
  90.     </tr>
  91.     <tr>
  92.       <td class="name">Aacute</td>
  93.       <td>193</td>
  94.       <td><Shift> A</td>
  95.       <td>accent aigu</td>
  96.       <td>┴</td>
  97.     </tr>
  98.     <tr>
  99.       <td class="name">Acirc</td>
  100.       <td>194</td>
  101.       <td><Shift> A</td>
  102.       <td>accent circonflexe</td>
  103.       <td>┬</td>
  104.     </tr>
  105.     <tr>
  106.       <td class="name">Agrave</td>
  107.       <td>192</td>
  108.       <td><Shift> A</td>
  109.       <td>accent grave</td>
  110.       <td>└</td>
  111.     </tr>
  112.     <tr>
  113.       <td class="name">Aring</td>
  114.       <td>197</td>
  115.       <td><Shift> A</td>
  116.       <td>Θtoile</td>
  117.       <td>┼</td>
  118.     </tr>
  119.     <tr>
  120.       <td class="name">Atilde</td>
  121.       <td>195</td>
  122.       <td><Shift> A</td>
  123.       <td>tilde</td>
  124.       <td>├</td>
  125.     </tr>
  126.     <tr>
  127.       <td class="name">Auml</td>
  128.       <td>196</td>
  129.       <td><Shift> A</td>
  130.       <td>trΘma</td>
  131.       <td>─</td>
  132.     </tr>
  133.     <tr>
  134.       <td class="name">Ccedil</td>
  135.       <td>199</td>
  136.       <td><Shift> C</td>
  137.       <td>cΘdille</td>
  138.       <td>╟</td>
  139.     </tr>
  140.     <tr>
  141.       <td class="name">Eth</td>
  142.       <td>222</td>
  143.       <td>-</td>
  144.       <td>D</td>
  145.       <td>╨</td>
  146.     </tr>
  147.     <tr>
  148.       <td class="name">Eacute</td>
  149.       <td>201</td>
  150.       <td><Shift> E</td>
  151.       <td>accent aigu</td>
  152.       <td>╔</td>
  153.     </tr>
  154.     <tr>
  155.       <td class="name">Ecirc</td>
  156.       <td>202</td>
  157.       <td><Shift> E</td>
  158.       <td>accent circonflexe</td>
  159.       <td>╩</td>
  160.     </tr>
  161.     <tr>
  162.       <td class="name">Egrave</td>
  163.       <td>200</td>
  164.       <td><Shift> E</td>
  165.       <td>accent grave</td>
  166.       <td>╚</td>
  167.     </tr>
  168.     <tr>
  169.       <td class="name">Euml</td>
  170.       <td>203</td>
  171.       <td><Shift> E</td>
  172.       <td>trΘma</td>
  173.       <td>╦</td>
  174.     </tr>
  175.     <tr>
  176.       <td class="name">Iacute</td>
  177.       <td>205</td>
  178.       <td><Shift> I</td>
  179.       <td>accent aigu</td>
  180.       <td>═</td>
  181.     </tr>
  182.     <tr>
  183.       <td class="name">Icirc</td>
  184.       <td>206</td>
  185.       <td><Shift> I</td>
  186.       <td>accent circonflexe</td>
  187.       <td>╬</td>
  188.     </tr>
  189.     <tr>
  190.       <td class="name">Igrave</td>
  191.       <td>204</td>
  192.       <td><Shift> I</td>
  193.       <td>accent grave</td>
  194.       <td>╠</td>
  195.     </tr>
  196.     <tr>
  197.       <td class="name">Iuml</td>
  198.       <td>207</td>
  199.       <td><Shift> I</td>
  200.       <td>trΘma</td>
  201.       <td>╧</td>
  202.     </tr>
  203.     <tr>
  204.       <td class="name">Ntilde</td>
  205.       <td>209</td>
  206.       <td><Shift> N</td>
  207.       <td>tilde</td>
  208.       <td>╤</td>
  209.     </tr>
  210.     <tr>
  211.       <td class="name">Oacute</td>
  212.       <td>211</td>
  213.       <td><Shift> O</td>
  214.       <td>accent aigu</td>
  215.       <td>╙</td>
  216.     </tr>
  217.     <tr>
  218.       <td class="name">Ocirc</td>
  219.       <td>212</td>
  220.       <td><Shift> O</td>
  221.       <td>accent circonflexe</td>
  222.       <td>╘</td>
  223.     </tr>
  224.     <tr>
  225.       <td class="name">Ograve</td>
  226.       <td>210</td>
  227.       <td><Shift> O</td>
  228.       <td>accent grave</td>
  229.       <td>╥</td>
  230.     </tr>
  231.     <tr>
  232.       <td class="name">Oslash</td>
  233.       <td>216</td>
  234.       <td><Shift> O</td>
  235.       <td>slash</td>
  236.       <td>╪</td>
  237.     </tr>
  238.     <tr>
  239.       <td class="name">Otilde</td>
  240.       <td>213</td>
  241.       <td><Shift> O</td>
  242.       <td>tilde</td>
  243.       <td>╒</td>
  244.     </tr>
  245.     <tr>
  246.       <td class="name">Ouml</td>
  247.       <td>214</td>
  248.       <td><Shift> O</td>
  249.       <td>trΘma</td>
  250.       <td>╓</td>
  251.     </tr>
  252.     <tr>
  253.       <td class="name">Thorn</td>
  254.       <td>222</td>
  255.       <td><Shift> T</td>
  256.       <td><Shift> H</td>
  257.       <td>▐</td>
  258.     </tr>
  259.     <tr>
  260.       <td class="name">Uacute</td>
  261.       <td>205</td>
  262.       <td><Shift> U</td>
  263.       <td>accent aigu</td>
  264.       <td>┌</td>
  265.     </tr>
  266.     <tr>
  267.       <td class="name">Ucirc</td>
  268.       <td>206</td>
  269.       <td><Shift> U</td>
  270.       <td>accent circonflexe</td>
  271.       <td>█</td>
  272.     </tr>
  273.     <tr>
  274.       <td class="name">Ugrave</td>
  275.       <td>204</td>
  276.       <td><Shift> U</td>
  277.       <td>accent grave</td>
  278.       <td>┘</td>
  279.     </tr>
  280.     <tr>
  281.       <td class="name">Uuml</td>
  282.       <td>207</td>
  283.       <td><Shift> U</td>
  284.       <td>trΘma</td>
  285.       <td>▄</td>
  286.     </tr>
  287.     <tr>
  288.       <td class="name">Yacute</td>
  289.       <td>221</td>
  290.       <td><Shift> Y</td>
  291.       <td>accent aigu</td>
  292.       <td>▌</td>
  293.     </tr>
  294.     <tr>
  295.       <td class="name">aelig</td>
  296.       <td>230</td>
  297.       <td>a</td>
  298.       <td>e</td>
  299.       <td>µ</td>
  300.     </tr>
  301.     <tr>
  302.       <td class="name">aacute</td>
  303.       <td>225</td>
  304.       <td>a</td>
  305.       <td>accent aigu</td>
  306.       <td>ß</td>
  307.     </tr>
  308.     <tr>
  309.       <td class="name">acirc</td>
  310.       <td>226</td>
  311.       <td>a</td>
  312.       <td>accent circonflexe</td>
  313.       <td>Γ</td>
  314.     </tr>
  315.     <tr>
  316.       <td class="name">agrave</td>
  317.       <td>224</td>
  318.       <td>a</td>
  319.       <td>accent grave</td>
  320.       <td>α</td>
  321.     </tr>
  322.     <tr>
  323.       <td class="name">aring</td>
  324.       <td>229</td>
  325.       <td>a</td>
  326.       <td>Θtoile</td>
  327.       <td>σ</td>
  328.     </tr>
  329.     <tr>
  330.       <td class="name">atilde</td>
  331.       <td>227</td>
  332.       <td>a</td>
  333.       <td>tilde</td>
  334.       <td>π2</td>
  335.     </tr>
  336.     <tr>
  337.       <td class="name">auml</td>
  338.       <td>228</td>
  339.       <td>a</td>
  340.       <td>trΘma</td>
  341.       <td>Σ</td>
  342.     </tr>
  343.     <tr>
  344.       <td class="name">brvbar</td>
  345.       <td>166</td>
  346.       <td>bar (pipe)</td>
  347.       <td>bar</td>
  348.       <td>ª</td>
  349.     </tr>
  350.     <tr>
  351.       <td class="name">ccedil</td>
  352.       <td>231</td>
  353.       <td>c</td>
  354.       <td>cΘdille</td>
  355.       <td>τ</td>
  356.     </tr>
  357.     <tr>
  358.       <td class="name">cent</td>
  359.       <td>162</td>
  360.       <td>c</td>
  361.       <td>slash</td>
  362.       <td>ó</td>
  363.     </tr>
  364.     <tr>
  365.       <td class="name">copy</td>
  366.       <td>169</td>
  367.       <td>c</td>
  368.       <td>o</td>
  369.       <td>⌐</td>
  370.     </tr>
  371.     <tr>
  372.       <td class="name">current</td>
  373.       <td>164</td>
  374.       <td>x</td>
  375.       <td>o</td>
  376.       <td>ñ</td>
  377.     </tr>
  378.     <tr>
  379.       <td class="name">deg</td>
  380.       <td>176</td>
  381.       <td>accent circonflexe</td>
  382.       <td>0 (zΘro)</td>
  383.       <td>░</td>
  384.     </tr>
  385.     <tr>
  386.       <td class="name">eacute</td>
  387.       <td>233</td>
  388.       <td>e</td>
  389.       <td>accent aigu</td>
  390.       <td>Θ</td>
  391.     </tr>
  392.     <tr>
  393.       <td class="name">ecirc</td>
  394.       <td>234</td>
  395.       <td>e</td>
  396.       <td>accent circonflexe</td>
  397.       <td>Ω</td>
  398.     </tr>
  399.     <tr>
  400.       <td class="name">egrave</td>
  401.       <td>232</td>
  402.       <td>e</td>
  403.       <td>accent grave</td>
  404.       <td>Φ</td>
  405.     </tr>
  406.     <tr>
  407.       <td class="name">euml</td>
  408.       <td>235</td>
  409.       <td>e</td>
  410.       <td>trΘma</td>
  411.       <td>δ</td>
  412.     </tr>
  413.     <tr>
  414.       <td class="name">eth</td>
  415.       <td>240</td>
  416.       <td>-</td>
  417.       <td>d</td>
  418.       <td>≡</td>
  419.     </tr>
  420.     <tr>
  421.       <td class="name">frac12</td>
  422.       <td>189</td>
  423.       <td>/</td>
  424.       <td>2</td>
  425.       <td>╜</td>
  426.     </tr>
  427.     <tr>
  428.       <td class="name">frac14</td>
  429.       <td>188</td>
  430.       <td>/</td>
  431.       <td>4</td>
  432.       <td>╝</td>
  433.     </tr>
  434.     <tr>
  435.       <td class="name">frac34</td>
  436.       <td>190</td>
  437.       <td>/</td>
  438.       <td>3</td>
  439.       <td>╛</td>
  440.     </tr>
  441.     <tr>
  442.       <td class="name">hyphen</td>
  443.       <td>173</td>
  444.       <td>- (moins)</td>
  445.       <td>-</td>
  446.       <td>¡</td>
  447.     </tr>
  448.     <tr>
  449.       <td class="name">iacute</td>
  450.       <td>237</td>
  451.       <td>i</td>
  452.       <td>accent aigu</td>
  453.       <td>φ</td>
  454.     </tr>
  455.     <tr>
  456.       <td class="name">icirc</td>
  457.       <td>238</td>
  458.       <td>i</td>
  459.       <td>accent circonflexe</td>
  460.       <td>ε</td>
  461.     </tr>
  462.     <tr>
  463.       <td class="name">igrave</td>
  464.       <td>236</td>
  465.       <td>i</td>
  466.       <td>accent grave</td>
  467.       <td>∞</td>
  468.     </tr>
  469.     <tr>
  470.       <td class="name">iexcl</td>
  471.       <td>161</td>
  472.       <td>! (exclam)</td>
  473.       <td>!</td>
  474.       <td>í</td>
  475.     </tr>
  476.     <tr>
  477.       <td class="name">iquest</td>
  478.       <td>191</td>
  479.       <td>? (question)</td>
  480.       <td>?</td>
  481.       <td>┐</td>
  482.     </tr>
  483.     <tr>
  484.       <td class="name">laquo</td>
  485.       <td>171</td>
  486.       <td>< (infΘrieur)</td>
  487.       <td><</td>
  488.       <td>½</td>
  489.     </tr>
  490.     <tr>
  491.       <td class="name">macr</td>
  492.       <td>175</td>
  493.       <td>- (moins)</td>
  494.       <td>accent circonflexe</td>
  495.       <td>»</td>
  496.     </tr>
  497.     <tr>
  498.       <td class="name">micro</td>
  499.       <td>181</td>
  500.       <td>/</td>
  501.       <td>u</td>
  502.       <td>╡</td>
  503.     </tr>
  504.     <tr>
  505.       <td class="name">middot</td>
  506.       <td>183</td>
  507.       <td>.</td>
  508.       <td>accent circonflexe</td>
  509.       <td>╖</td>
  510.     </tr>
  511.     <tr>
  512.       <td class="name">nbsp</td>
  513.       <td>160</td>
  514.       <td><Ctrl> space</td>
  515.       <td>(aucun)</td>
  516.       <td>á</td>
  517.     </tr>
  518.     <tr>
  519.       <td class="name">not</td>
  520.       <td>172</td>
  521.       <td>- (moins)</td>
  522.       <td>cΘdille</td>
  523.       <td>¼</td>
  524.     </tr>
  525.     <tr>
  526.       <td class="name">ntilde</td>
  527.       <td>241</td>
  528.       <td>n</td>
  529.       <td>tilde</td>
  530.       <td>±</td>
  531.     </tr>
  532.     <tr>
  533.       <td class="name">oacute</td>
  534.       <td>243</td>
  535.       <td>o</td>
  536.       <td>accent aigu</td>
  537.       <td>≤</td>
  538.     </tr>
  539.     <tr>
  540.       <td class="name">ocirc</td>
  541.       <td>244</td>
  542.       <td>o</td>
  543.       <td>accent circonflexe</td>
  544.       <td>⌠</td>
  545.     </tr>
  546.     <tr>
  547.       <td class="name">ograve</td>
  548.       <td>242</td>
  549.       <td>o</td>
  550.       <td>accent grave</td>
  551.       <td>≥</td>
  552.     </tr>
  553.     <tr>
  554.       <td class="name">oslash</td>
  555.       <td>248</td>
  556.       <td>o</td>
  557.       <td>slash</td>
  558.       <td>°</td>
  559.     </tr>
  560.     <tr>
  561.       <td class="name">otilde</td>
  562.       <td>245</td>
  563.       <td>o</td>
  564.       <td>tilde</td>
  565.       <td>⌡</td>
  566.     </tr>
  567.     <tr>
  568.       <td class="name">ouml</td>
  569.       <td>246</td>
  570.       <td>o</td>
  571.       <td>trΘma</td>
  572.       <td>÷</td>
  573.     </tr>
  574.     <tr>
  575.       <td class="name">ordf</td>
  576.       <td>170</td>
  577.       <td>a</td>
  578.       <td>_ (underscore)</td>
  579.       <td>¬</td>
  580.     </tr>
  581.     <tr>
  582.       <td class="name">ordm</td>
  583.       <td>186</td>
  584.       <td>o</td>
  585.       <td>_ (underscore)</td>
  586.       <td>║</td>
  587.     </tr>
  588.     <tr>
  589.       <td class="name">para</td>
  590.       <td>182</td>
  591.       <td><Shift> P</td>
  592.       <td>! (exclam)</td>
  593.       <td>╢</td>
  594.     </tr>
  595.     <tr>
  596.       <td class="name">plusmn</td>
  597.       <td>177</td>
  598.       <td>+</td>
  599.       <td>- (moins)</td>
  600.       <td>▒</td>
  601.     </tr>
  602.     <tr>
  603.       <td class="name">pound</td>
  604.       <td>163</td>
  605.       <td>l</td>
  606.       <td>- (moins)</td>
  607.       <td>ú</td>
  608.     </tr>
  609.     <tr>
  610.       <td class="name">raquo</td>
  611.       <td>187</td>
  612.       <td>> (supΘrieur)</td>
  613.       <td>></td>
  614.       <td>╗</td>
  615.     </tr>
  616.     <tr>
  617.       <td class="name">reg</td>
  618.       <td>174</td>
  619.       <td><Shift> R</td>
  620.       <td><Shift> O</td>
  621.       <td>«</td>
  622.     </tr>
  623.     <tr>
  624.       <td class="name">sec</td>
  625.       <td>167</td>
  626.       <td>s</td>
  627.       <td>! (exclam)</td>
  628.       <td>º</td>
  629.     </tr>
  630.     <tr>
  631.       <td class="name">sup1</td>
  632.       <td>185</td>
  633.       <td>s</td>
  634.       <td>1</td>
  635.       <td>╣</td>
  636.     </tr>
  637.     <tr>
  638.       <td class="name">sup2</td>
  639.       <td>178</td>
  640.       <td>s</td>
  641.       <td>2</td>
  642.       <td>▓</td>
  643.     </tr>
  644.     <tr>
  645.       <td class="name">sup3</td>
  646.       <td>179</td>
  647.       <td>s</td>
  648.       <td>3</td>
  649.       <td>│</td>
  650.     </tr>
  651.     <tr>
  652.       <td class="name">szlig</td>
  653.       <td>223</td>
  654.       <td>s</td>
  655.       <td>s</td>
  656.       <td>▀</td>
  657.     </tr>
  658.     <tr>
  659.       <td class="name">thorn</td>
  660.       <td>254</td>
  661.       <td>t</td>
  662.       <td>h</td>
  663.       <td>■</td>
  664.     </tr>
  665.     <tr>
  666.       <td class="name">uacute</td>
  667.       <td>250</td>
  668.       <td>u</td>
  669.       <td>accent aigu</td>
  670.       <td>·</td>
  671.     </tr>
  672.     <tr>
  673.       <td class="name">ucirc</td>
  674.       <td>251</td>
  675.       <td>u</td>
  676.       <td>accent circonflexe</td>
  677.       <td>√</td>
  678.     </tr>
  679.     <tr>
  680.       <td class="name">ugrave</td>
  681.       <td>249</td>
  682.       <td>u</td>
  683.       <td>accent grave</td>
  684.       <td>∙</td>
  685.     </tr>
  686.     <tr>
  687.       <td class="name">uuml</td>
  688.       <td>252</td>
  689.       <td>u</td>
  690.       <td>trΘma</td>
  691.       <td>ⁿ</td>
  692.     </tr>
  693.     <tr>
  694.       <td class="name">yacute</td>
  695.       <td>253</td>
  696.       <td>y</td>
  697.       <td>accent aigu</td>
  698.       <td>²</td>
  699.     </tr>
  700.     <tr>
  701.       <td class="name">yen</td>
  702.       <td>165</td>
  703.       <td>y</td>
  704.       <td>- (moins)</td>
  705.       <td>Ñ</td>
  706.     </tr>
  707.     <tr>
  708.       <td class="name">yuml</td>
  709.       <td>255</td>
  710.       <td>y</td>
  711.       <td>trΘma</td>
  712.       <td> </td>
  713.     </tr>
  714.   </tbody>
  715. </table>
  716.  
  717. <h3>About White Space Handling</h3>
  718.  
  719. <p>Amaya removes insignificant white-space characters when it loads a
  720. document unless they must be explicitly preserved. This is true for XHTML,
  721. MathML, and SVG documents, as well as MathML or SVG elements included in a
  722. HTML document,</p>
  723.  
  724. <p>The following are considered as insignificant white-space characters:</p>
  725. <ul>
  726.   <li>End of line characters (<code>#xD</code> and <code>#xA</code>)</li>
  727.   <li>Tab characters (<code>#X9</code>)</li>
  728.   <li>Leading spaces of an element</li>
  729.   <li>Trailing spaces of an element</li>
  730.   <li>Contiguous spaces (one space is preserved)</li>
  731. </ul>
  732.  
  733. <p>To preserve all the characters for some elements, use the
  734. <code>xml:space</code> attribute or the <code>PRE</code> element (only valid
  735. for XHTML documents). The possible values for the <code>xml:space</code>
  736. attribute are <code>default</code> and <code>preserve</code>.</p>
  737. <ul>
  738.   <li>The value <code>default</code> means that an applications' default
  739.     white-space treatment is acceptable for these elements. In Amaya, the
  740.     default treatment removes the insignificant white-space characters for
  741.     all supported DTDs (see above).
  742.     <p></p>
  743.   </li>
  744.   <li>The value <code>preserve</code> indicates that applications will
  745.     preserve all the characters, except the first one that immediately
  746.     follows the end tag of the element where it is specified, if that element
  747.     is an end of line.</li>
  748. </ul>
  749.  
  750. <p>You apply the <code>xml:space</code> attribute to all elements within the
  751. content of the element where it is specified, unless it is overriden with
  752. another instance of the <code>xml:space</code> attribute.</p>
  753.  
  754. <p>In an XHTML DTD, the <code>PRE</code> element causes the same behavior as
  755. the <code>xml:space</code> attribute with the value <code>preserve</code>.</p>
  756.  
  757. <p>Amaya applies white space handling when it loads a document, not during
  758. editing. A consequence is that if you type insignificant white-space
  759. characters, they will be visible and saved but will be removed the next time
  760. the document is loaded. For example, the following source code:</p>
  761.  
  762. <p><code><p>Amaya removes the <strong> insignificant white-space
  763. </strong>when it loads ...</p></code></p>
  764.  
  765. <p>displays as follows during editing:</p>
  766.  
  767. <p><code>Amaya removes the <strong>insignificant white-space</strong> when it
  768. loads...</code></p>
  769.  
  770. <p>The text will be saved with that syntax. However, the next time the
  771. document is loaded, the text will display as:</p>
  772.  
  773. <p><code>Amaya removes the<strong>insignificant white-space</strong>when it
  774. loads...</code></p>
  775.  
  776. <p>because the leading and trailing spaces of the element
  777. <code><strong></code> are considered to be insignificant and are
  778. removed.</p>
  779.  
  780. <p>The correct source code would be:</p>
  781.  
  782. <p><code><p>Amaya removes the <strong>insignificant
  783. white-space</strong> when it loads ...</p></code></p>
  784.  
  785. <p></p>
  786. </div>
  787. </body>
  788. </html>
  789.