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 / Changing.html < prev    next >
Encoding:
Extensible Markup Language  |  2005-02-23  |  4.6 KB  |  119 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.   <meta name="GENERATOR" content="amaya 9.1, see http://www.w3.org/Amaya/" />
  8.   <title>Restructuring Documents</title>
  9.   <style type="text/css">
  10.  
  11.  
  12.  </style>
  13.   <link href="style.css" rel="stylesheet" type="text/css" />
  14. </head>
  15.  
  16. <body xml:lang="en" lang="en">
  17.  
  18. <div>
  19. <img alt="Amaya" src="../../resources/icons/22x22/logo.png" class="logo" />
  20.  
  21. <p class="nav"><a href="EditChar.html" accesskey="p"><img alt="previous"
  22. src="../../resources/icons/misc/left.png" /></a> <a href="Manual.html"
  23. accesskey="t"><img alt="top" src="../../resources/icons/misc/up.png" /></a>
  24. <a href="Links.html" accesskey="n"><img alt="next"
  25. src="../../resources/icons/misc/right.png" /></a></p>
  26. </div>
  27.  
  28. <div class="toc">
  29. <ul>
  30.   <li><a href="#Restructur">Restructuring Documents</a>
  31.     <ul>
  32.       <li><a href="#Changing">Changing type</a></li>
  33.       <li><a href="#Transform">The Transform Command</a>
  34.         <ul>
  35.           <li><a href="#Available">Available Transformations</a></li>
  36.           <li><a href="#Using">Using the Transform Command</a></li>
  37.         </ul>
  38.       </li>
  39.       <li><a href="#Inserting">Inserting a Division</a></li>
  40.       <li><a href="#Merging">Merging Elements</a></li>
  41.     </ul>
  42.   </li>
  43. </ul>
  44. </div>
  45.  
  46. <div id="page_body">
  47. <h2 id="Restructur">Restructuring Documents</h2>
  48.  
  49. <h3 id="Changing">Changing type</h3>
  50.  
  51. <p>To change the type of an existing element, <a
  52. href="Selecting.html">select</a> it and choose the new type in the
  53. <strong>XHTML</strong> or <strong>XML</strong> menus, or in the XHTML
  54. palette. You can change that way a numbered list (ol) into an unnumbered list
  55. (ul) or a paragraph into a heading or a list.</p>
  56.  
  57. <p>Element types offered by the submenus <strong>Information type</strong>
  58. and <strong>Character element</strong> of the <strong>XHTML</strong> menu
  59. work as toggles. If you select some plain text and activate one of these
  60. commands, the selected text will be turned into an element of the chosen
  61. type. Conversely, if you select an element of a type listed in these submenus
  62. and you activate the corresponding menu item, the element is removed from the
  63. document, but its content is kept.</p>
  64.  
  65. <h3 id="Transform">The Transform Command</h3>
  66.  
  67. <p>The <strong>Transform</strong> command from the <strong>Edit</strong> menu
  68. performs complex structure transformations, based on a language that
  69. specifies how a given structural pattern can be transformed into different
  70. structures. For example, nested lists can be transformed into a table and
  71. back again.</p>
  72.  
  73. <h4 id="Available">Available Transformations</h4>
  74.  
  75. <p>The available transformations are defined in the file
  76. <kbd>Amaya/amaya/HTML.trans</kbd>. Please refer to the document "<a
  77. href="Transform.html">Using the HTML.trans file</a>" for a description of the
  78. language in which the transformation rules are written.</p>
  79.  
  80. <p>Additional transformations may be specified in the HTML.trans file. Some
  81. transformations are provided in the HTML.trans file as examples.</p>
  82.  
  83. <h4 id="Using">Using the Transform Command</h4>
  84.  
  85. <p>To use this command:</p>
  86. <ol>
  87.   <li>Choose <strong>Transform</strong> from the <strong>Edit</strong> menu.
  88.     <p>Amaya displays a menu that lists all the transformations that can be
  89.     applied to the current selection.</p>
  90.   </li>
  91.   <li>Choose the transformation you want.</li>
  92. </ol>
  93.  
  94. <h3 id="Inserting">Inserting a Division</h3>
  95.  
  96. <p>You can easily group a set of paragraphs, headings, lists, tables, and so
  97. on within a division. To do this, select the elements you want to group, and
  98. then select <strong>Division (div)</strong> from the <strong>XHTML</strong>
  99. menu.</p>
  100.  
  101. <h3 id="Merging">Merging Elements</h3>
  102.  
  103. <p class="MsoNormal">You can merge successive elements, even if they are not
  104. at the same level in the document structure, by using the
  105. <kbd>Backspace</kbd> and <kbd>Delete</kbd> keys. When the insertion point is
  106. at the end of an element, use the <kbd>Delete</kbd> key to merge; when it is
  107. at the beginning of an element, use the <kbd>Backspace</kbd> key. In both
  108. cases, these keys do not delete any characters; instead they merge elements
  109. previously separated by a structure boundary.</p>
  110.  
  111. <p class="MsoNormal">Note that when the insertion point is within an element,
  112. the <kbd>Backspace</kbd> and <kbd>Delete</kbd> keys delete the next or
  113. previous character as usual.</p>
  114.  
  115. <p></p>
  116. </div>
  117. </body>
  118. </html>
  119.