Amaya

## Viewing documents

Amaya can present different views of a document simultaneously. Each tab corresponds to a document and the document views can be shown by splitting the page so you can clearly see what is happening when you edit complex documents.

The multiple views can also help you move quickly through a document. For example, if you click a heading in the Table of Contents view, the Formatted view will display the document section you selected.

Six views are available.

Formatted view (default)
  This view is similar to that provided in most browsers. It is a dynamic, direct-manipulation view. At all times it displays the changes you make to the document. This view is allways visible in your page.
Structure view

  This view shows the actual structure of the document. Each element is represented by its tag name, followed by its attributes on the same line. The elements it contains are represented underneath, next to a blue vertical line that shows the extent of the element.

  You can directly edit any text displayed in black by clicking and typing. You must use the editing commands to change text displayed in blue.

  The structure view shows all the elements of the document even those that are not displayed in the formatted view like comments, doctype, processing instructions or the elements of the `head` section.

  This view also shows the uri of the namespace used by the author when an element belongs to a namespace that is not the same as its parent.

Alternate view (not available with the Lite profile)
  This view shows how the document looks when displayed by a text-only browser. It is useful for checking the accessibility of your documents.
Links view
  This view shows a list of all anchors in the document and the elements each anchor contains. You can focus on it when working primarily on links.
Table of contents view

  This view shows a list of all headings (`Hn` elements) in the document. If the document is well structured, it displays an overview of the document.

Source view
  This view shows the actual source code of the document. You can use it to edit the syntax of your document. (this view is opens by default when you click on the pink area at the bottom of your document)

You can open and close any view at any time.

### Opening a View

To open a view, select the appropriate Show menu item from the Views menu:

Entrée du menu | Raccourci clavier
Show structure | `Ctrl-u Ctrl-s`
Show alternate | `Ctrl-u Ctrl-a`
Show links | `Ctrl-u Ctrl-l`
Show table of contents | `Ctrl-u Ctrl-c`
Show source | `Ctrl-u Ctrl-o`

Tip : You can quickly open the source view by clicking on the pink bar at the bottom (Horizontal split/unsplit) or at the right (Vertical split/unsplit) of the your document.

### Closing a view

To close a view, select the Split view horizontally or Split view vertically command from the Views menu. Another way to close a view is to double-click on the pink bar at the bottom or at the right of your document.

You can also close the tab (File/Close tab or close button on the tab, or right click on the tab, except for the Mac OS X version) if you want to close your document and all its views.