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" />
- <meta name="GENERATOR" content="amaya 9.1, see http://www.w3.org/Amaya/" />
- <title>Restructuring Documents</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="EditChar.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="Links.html" accesskey="n"><img alt="next"
- src="../../resources/icons/misc/right.png" /></a></p>
- </div>
-
- <div class="toc">
- <ul>
- <li><a href="#Restructur">Restructuring Documents</a>
- <ul>
- <li><a href="#Changing">Changing type</a></li>
- <li><a href="#Transform">The Transform Command</a>
- <ul>
- <li><a href="#Available">Available Transformations</a></li>
- <li><a href="#Using">Using the Transform Command</a></li>
- </ul>
- </li>
- <li><a href="#Inserting">Inserting a Division</a></li>
- <li><a href="#Merging">Merging Elements</a></li>
- </ul>
- </li>
- </ul>
- </div>
-
- <div id="page_body">
- <h2 id="Restructur">Restructuring Documents</h2>
-
- <h3 id="Changing">Changing type</h3>
-
- <p>To change the type of an existing element, <a
- href="Selecting.html">select</a> it and choose the new type in the
- <strong>XHTML</strong> or <strong>XML</strong> menus, or in the XHTML
- palette. You can change that way a numbered list (ol) into an unnumbered list
- (ul) or a paragraph into a heading or a list.</p>
-
- <p>Element types offered by the submenus <strong>Information type</strong>
- and <strong>Character element</strong> of the <strong>XHTML</strong> menu
- work as toggles. If you select some plain text and activate one of these
- commands, the selected text will be turned into an element of the chosen
- type. Conversely, if you select an element of a type listed in these submenus
- and you activate the corresponding menu item, the element is removed from the
- document, but its content is kept.</p>
-
- <h3 id="Transform">The Transform Command</h3>
-
- <p>The <strong>Transform</strong> command from the <strong>Edit</strong> menu
- performs complex structure transformations, based on a language that
- specifies how a given structural pattern can be transformed into different
- structures. For example, nested lists can be transformed into a table and
- back again.</p>
-
- <h4 id="Available">Available Transformations</h4>
-
- <p>The available transformations are defined in the file
- <kbd>Amaya/amaya/HTML.trans</kbd>. Please refer to the document "<a
- href="Transform.html">Using the HTML.trans file</a>" for a description of the
- language in which the transformation rules are written.</p>
-
- <p>Additional transformations may be specified in the HTML.trans file. Some
- transformations are provided in the HTML.trans file as examples.</p>
-
- <h4 id="Using">Using the Transform Command</h4>
-
- <p>To use this command:</p>
- <ol>
- <li>Choose <strong>Transform</strong> from the <strong>Edit</strong> menu.
- <p>Amaya displays a menu that lists all the transformations that can be
- applied to the current selection.</p>
- </li>
- <li>Choose the transformation you want.</li>
- </ol>
-
- <h3 id="Inserting">Inserting a Division</h3>
-
- <p>You can easily group a set of paragraphs, headings, lists, tables, and so
- on within a division. To do this, select the elements you want to group, and
- then select <strong>Division (div)</strong> from the <strong>XHTML</strong>
- menu.</p>
-
- <h3 id="Merging">Merging Elements</h3>
-
- <p class="MsoNormal">You can merge successive elements, even if they are not
- at the same level in the document structure, by using the
- <kbd>Backspace</kbd> and <kbd>Delete</kbd> keys. When the insertion point is
- at the end of an element, use the <kbd>Delete</kbd> key to merge; when it is
- at the beginning of an element, use the <kbd>Backspace</kbd> key. In both
- cases, these keys do not delete any characters; instead they merge elements
- previously separated by a structure boundary.</p>
-
- <p class="MsoNormal">Note that when the insertion point is within an element,
- the <kbd>Backspace</kbd> and <kbd>Delete</kbd> keys delete the next or
- previous character as usual.</p>
-
- <p></p>
- </div>
- </body>
- </html>
-