This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: alternative text for images in docbook
- From: Bob Stayton <bobs at caldera dot com>
- To: Anahi Olives/UPC <Anahi dot Olives at upc dot es>
- Cc: docbook at lists dot oasis-open dot org
- Date: Thu, 13 Feb 2003 12:01:16 -0800
- Subject: Re: DOCBOOK: alternative text for images in docbook
- References: <OF264EF485.C50D1E2B-ONC1256CCC.0032B0A3@upc.es>
On Thu, Feb 13, 2003 at 10:27:21AM +0100, Anahi Olives/UPC wrote:
> Hi,
>
> I would like to know if there is any docbook element that allows to show an
> alternative text for images and media objects (the text that is shown when
> the mouse is on the image). I saw that equations have an "alt" element to
> do that, but what about figures, imageobjects, videoobjects, ... Is it
> possible to use callouts for this? I'm not sure of understand what callouts
> really do. Please, is there any way to do this with docbook. Thanks.
Put your alt text in a <phrase> in a <textobject> in
your <mediaobject> for the image:
<mediaobject>
<imageobject>
<imagedata .../>
</imageobject>
<textobject>
<phrase>My alt text</phrase>
</textobject>
</mediaobject>
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
The SCO Group fax: (831) 429-1887
email: bobs@sco.com