
6.6.1. Exiting anchors, inline elements, etc.
When a paragraph or another block of text is terminated by an anchor or a character string in bold, italic
or other such inline element, moving the insertion point to the end and typing new text appends
characters to the anchor or the inline element.
In XML mode only
To exit an inline element and enter plain text:, move the cursor to the end of the anchor or style
element, and then press Enter and continue typing after the element.
The same method can be used to enter plain text at the beginning of a block starting with an inline
element. Move the cursor to the beginning of the anchor or style element, and then press Enter and
continue typing before the element.
In Text and XML mode
All Information type and Character elements can be set On/Off with the same command or
button of the Elements tool.
The Insert or Append commands of the Edit menu or contextual menu can be used to insert before
the beginning or after the end of the inline element.
6.6.2. Creating nested structures
In XML editing mode (only), when the insertion point is in an empty element, pressing the Enter key
replaces that element by another empty element at the next higher level in the document structure. This
feature allows you to create complex, nested structures very quickly.
As an example, consider the following structure:
1. The first item in the list
A paragraph in the first item
2. The second item in the list.
a. First item in the nested list.
b. Second item in the nested list.
3. Last item in the list
To create the above structure:
1. Click the Numbered List button to create the first item in the list.
2. Type in the list item text, and press the Enter key once. Amaya creates a new paragraph within
the list item.
3. Type the paragraph text, and press the Enter key twice. The first Enter creates another
paragraph element, but the second Enter removes that paragraph and creates a second list item
in the original list.
4. Type in the second list item content.
5. Click the Numbered List button to create a new list. The new list is automatically nested
within the first list.
6. Type the text for the first item in the new, nested list, and press the Enter key twice to create a
new item in the nested list.
7. Type the text for the second list item, and press the Enter key four times to create a new list
item in the original list.
6. Creating elements
17
Comentários a estes Manuais