Библиотека сайта rus-linux.net
It is necessary to insert pictures formats for all possible finished document types. For example: JPG files for web pages and EPS for PostScript and PDF files.
If you use the TeX format you'll need the images as a PostScript file. For on-line publishing you can use any kind of common image file, such as JPG, GIF or PNG.
The easiest way to insert pictures is to use the
fileref attribute. Usually pictures are
generated in JPG and in PostScript (PS or EPS).
Example D-6. Inserting a picture
<informalfigure> eliminates the
need to insert a title for the picture.
There's still the
attribute on which the value
0 indicates that
the picture should be placed exactly where the tag appears. The
1 allows the picture to be moved to a
more convenient location (this location can be described on the
style sheet, or it can be controlled by the application).
submitting graphics to the LDP, please submit one
set of graphics in
.png. The preferred format is
.jpg due to patent problems with
You can use
.jpg files for
continuous-tone images such as photos or images with gradual
changes in color. Use
for simple images like diagrams, some screen shots, and images
with a low number of colors.
The first alternative to Example D-6
is to eliminate the
Another interesting alternative when you have
decided to publish the text on media where pictures
are not accepted, is the use of a wrapper,
Example D-7. Using
Files using the following formats are available BMP, CGM-BINARY, CGM-CHAR, CGM-CLEAR, DITROFF, DVI, EPS, EQN, FAX, GIF, GIF87A, GIF89A, IGES, JPEG, JPG, LINESPECIFIC, PCX, PIC, PS, SGML, TBL, TEX, TIFF, WMF, WPG.
This method presents an advantage: a better
control of the application. The elements
<imageobject> are consecutively tested
until one of them is accepted. If the output format does not
support images the
element will be used. However, the biggest advantage in usage
of the format Example D-7
is that in DocBook
<graphic> element will cease to
As a disadvantage, there is the need for more than one representation code of the same information. It is up to the author to decide how they will implement illustrations and pictures in the document, but for compatibility with future versions I recommend the use of this method for pictures and graphics.
|Title page exception|
You may also want to try converting your image to an ASCII representation of the file. JavE (Java ASCII Versatile Editor) can do this conversion for you. It can be downloaded from http://www.jave.de/. It has an easy to use GUI interface.
Только зарегистрированные пользователи могут оценивать и комментировать статьи.