17 Images

Structured editing is not well suited to handling images. However, mixing structured text and images within the same document may be useful. The Thot editor stores images in external files and searches for them in Unix directories in the same way as it searches for documents (see section 7.9).

The Thot editor allows the user to insert images in five formats:

  1. Images in bitmap format, such as this one Image
draw.xbm identified by the .xbm suffix.
  2. Images in Encapsulated PostScript format such as the one presented in Figure 5. These images are designated by the .eps suffix.
  3. Images in pixmap format such as this one Image
opera.xpm, identified by the .xpm suffix.
  4. Images in gif format such as the one shown below. These images are usually designated by the .gif suffix.

    Image Bilbon.gif

  5. Images in JPEG format, identified by the .jpg suffix.
  6. Images in PING format, identified by the .png suffix.
Image Opera.eps

Figure 5 - Some members of the Opera group

As you can see, images can be inserted throughout the text of a paragraph or between two paragraphs or even in a figure (in Figure 5, the image is inserted as a Picture in a Figure element of the Report).

When the user has created an image element, the image format, the file name and the output mode have not yet been chosen. All these parameters can be entered and modified by using the ``Insert'' command and choosing the ``Within selection'' option, when the image is selected.

The command ``Within selection'' displays a form with five fields:


[Section 18] [Table of contents]