Go to the first, previous, next, last section, table of contents.
You can insert an image given in an external file with the
@image
command:
@image{filename, [width], [height]}
The filename argument is mandatory, and must not have an extension, because the different processors support different formats:
makeinfo
uses `filename.txt' verbatim for
Info output (more or less as if it was an @example
).
makeinfo
producing HTML output tries `filename.png';
if that does not exist, it tries `filename.jpg'. If that
does not exist either, it complains. (We cannot support GIF format due
to patents.)
The optional width and height arguments specify the size to scale the image to (they are ignored for Info output). If neither is specified, the image is presented in its natural size (given in the file); if only one is specified, the other is scaled proportionately; and if both are specified, both are respected, thus possibly distorting the original image by changing its aspect ratio.
The width and height may be specified using any valid TeX dimension, namely:
For example, the following will scale a file `ridt.eps' to one inch vertically, with the width scaled proportionately:
@image{ridt,,1in}
For @image
to work with TeX, the file `epsf.tex' must be
installed somewhere that TeX can find it. (The standard location is
`texmf/tex/generic/dvips/epsf.tex', where texmf is a
root of your TeX directory tree.) This file is included in the
Texinfo distribution and is available from
ftp://tug.org/tex/epsf.tex.
@image
can be used within a line as well as for displayed
figures. Therefore, if you intend it to be displayed, be sure to leave
a blank line before the command, or the output will run into the
preceding text.
Go to the first, previous, next, last section, table of contents.