home *** CD-ROM | disk | FTP | other *** search
/ PC World 2001 April / PCWorld_2001-04_cd.bin / Komunik / Amaya / WinNT2000 / amaya-WindowsNT-4.3.exe / _SETUP.1 / Changing.html < prev    next >
Encoding:
Extensible Markup Language  |  2001-02-22  |  4.4 KB  |  103 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.   <title>Changing the structure</title>
  7.   <meta name="GENERATOR" content="amaya V4.2.2" />
  8.   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  9. </head>
  10.  
  11. <body xml:lang="en" lang="en">
  12.  
  13. <table border="0" width="100%" summary="toc">
  14.   <tbody>
  15.     <tr>
  16.       <td><p><img border="0" alt="W3C" src="../../Icons/WWW/w3c_home" /> <img
  17.         border="0" alt="Amaya" src="../Icons/amaya.gif" /></p>
  18.       </td>
  19.       <td><p align="right"><a href="Links.html" accesskey="p"><img
  20.         alt="previous" border="0" src="../Icons/left.gif" /></a> <a
  21.         href="Manual.html" accesskey="t"><img alt="top" border="0"
  22.         src="../Icons/up.gif" /></a> <a href="Tables.html" accesskey="n"><img
  23.         alt="next" border="0" src="../Icons/right.gif" /></a></p>
  24.       </td>
  25.     </tr>
  26.   </tbody>
  27. </table>
  28.  
  29. <div id="Changing">
  30. <h2>Editing the document structure</h2>
  31.  
  32. <h3><a name="L653">Changing element type</a></h3>
  33.  
  34. <p>To change the type of an existing element, select it and choose the new
  35. type in the <strong>Types</strong> menu or by clicking on a button. You can
  36. thus change a numbered list into an itemized list, for example, or a paragraph
  37. into a heading or a list. To remove a type that is selected from the
  38. <strong>Style</strong> menu (<a href="HTML-elements/inline.html">inline
  39. types</a> - those that can be a phrase in a paragraph or list) use the
  40. relevant option in the submenus of the <strong>Style</strong> menu as a
  41. toggle. Most other types can be removed as a transformation of the element
  42. when it has been selected (see below).<strong></strong></p>
  43.  
  44. <p>To select an entire element, place the insertion point anywhere within it
  45. and press the <a href="Selecting.html#Selecting1">Esc (F2 on Windows)
  46. key</a>.</p>
  47.  
  48. <p>More complex <a href="#L631">structure transformations</a> are also
  49. possible.</p>
  50.  
  51. <h3><a name="L631">Changing the document structure</a></h3>
  52.  
  53. <p>Simple structure transformations can be achieved using the
  54. <strong>Types</strong> menu (see <a href="#L653">above</a>). More complex
  55. transformations can be obtained by other means.</p>
  56.  
  57. <h3><a name="L141">The <strong>Transform</strong> command</a></h3>
  58.  
  59. <p>The <strong>Transform</strong> command from the <strong>Edit</strong> menu
  60. performs complex structure transformations. This command is based on a
  61. structure transformation language that specifies how a given structural
  62. pattern can be transformed into different structures.</p>
  63.  
  64. <p>The <strong>Transform</strong> command pops up a menu that lists all the
  65. transformations that can be applied to the current selection. Just choose the
  66. transformation you want.</p>
  67.  
  68. <p>The available transformations are defined in the file
  69. <code>Amaya/amaya/HTML.trans</code>. Please refer to the document <a
  70. href="Transform.html">Use of the file HTML.trans</a> for a description of the
  71. language in which the transformation rules are written.</p>
  72.  
  73. <p>Additional transformations may be specified in the <code>HTML.trans</code>
  74. file. Some are provided as examples. For instance, it is possible to transform
  75. nested lists into a table and conversely.</p>
  76.  
  77. <h3><a name="Inserting">Inserting a Division</a></h3>
  78.  
  79. <p>One can easily group a set of paragraphs, headings, lists, tables, etc.
  80. within a division. To do that one has to select the elements to be grouped and
  81. select the entry DIV in the menu type.</p>
  82.  
  83. <h3><a name="Back">The Back Space and Delete keys</a></h3>
  84.  
  85. <p>Successive elements can be merged, even if they are not at the same level
  86. in the document structure. Merging is achieved with the Back Space and Delete
  87. keys. When the insertion point is at the end of an element, use the Delete
  88. key, when it is at the beginning, use the Back Space key. In both cases, these
  89. keys do not delete any characters, but merge elements which are separated by a
  90. structure boundary.</p>
  91.  
  92. <p>When the insertion point in within an element, these two keys delete the
  93. next or previous character, as usual.</p>
  94. </div>
  95.  
  96. <p align="right"><a href="Links.html"><img alt="previous" border="0"
  97. src="../Icons/left.gif" /></a> <a href="Manual.html"><img alt="top" border="0"
  98. src="../Icons/up.gif" /></a> <a href="Tables.html"><img alt="next" border="0"
  99. src="../Icons/right.gif" /></a></p>
  100. <hr />
  101. </body>
  102. </html>
  103.