[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: solution for images
On Sun, 7 May 2000, Dan Kuykendall wrote:
> Is there a way to embed an image, such as a screen shot?
Sure there is.
see: MediaObject <mediaobject> . . . </mediaobject>
from Norm Walsh's "DocBook: The Definitive Guide" ISBN: 156592-580-7
[this is your bible -- keep a copy of the HTML version on your machine
at all times]
------------------------------------------------------------------------
<!DOCTYPE mediaobject PUBLIC "-//OASIS//DTD DocBook V3.1//EN">
<mediaobject>
<imageobject>
<imagedata fileref="figures/eiffeltower.eps" format="eps">
</imageobject>
<imageobject>
<imagedata fileref="figures/eiffeltower.gif" format="gif">
</imageobject>
<textobject>
<phrase>The Eiffel Tower</phrase>
</textobject>
<caption>
<para>Designed by Gustave Eiffel in 1889, The Eiffel Tower is one of the
most widely recognized buildings in the world.
</para>
</caption>
</mediaobject>
. . . .
The primary purpose of the MediaObject is to provide a wrapper around a
set of alternative presentations of the
same information.
If possible, the processing system should use the content of the first
object within the MediaObject. If the first
object cannot be used, the remaining objects should be considered in
the order that they occur. A processor should
use the first object that it can, although it is free to choose any of
the remaining objects if the primary one cannot be
used.
Under no circumstances should more than one object in a MediaObject be
used or presented at the same time.
For example, a MediaObject might contain a video, a high resolution
image, a low resolution image, a long text
description, and a short text description. In a "high end" online
system, the video is used. For print publishing, the
high resolution image is used. For other online systems, either the
high or low resolution image is used, possibly
including the short text description as the online alternative. In a
text-only environment, either the long or short
text descriptions are used.
Future Changes
In DocBook V5.0, MediaObject will replace Graphic.
-------------------------------------------------------------------------
HTH
msw
--
Martin Wheeler - StarTEXT - Glastonbury - BA6 9PH - England
[1] mwheeler@startext.co.uk http://www.startext.co.uk/
[2] mwheeler@startext.f9.co.uk
--
To UNSUBSCRIBE, email to ldp-discuss-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org