This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: alternative text for images in docbook


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]