Re: [docbook] referencing an image

From
Bob Stayton <>
Date
2003-05-01T05:27:56+00:00
ID
Thread
Re: [docbook] referencing an image
On Thu, May 01, 2003 at 10:32:11AM +0530, Vivek Nallur wrote:
> Hello,
> 
> As a part of a user manual, I've got several screenshots which need to be
> referenced again and again.
> 
> I'm in a fix as to how to refer to an image, through an <xref linkend=...>
> 
> My initial effort at:
> 
> <screenshot>
>  <screeninfo>640x480x250</screeninfo>
>   <graphic id="Logon" fileref="images/1.4a.gif">
> </screenshot>
> 
> does not seem to work. Any suggestions on this score?

An xref generates the link text from the object being
pointed to.  In this case, there is no text to generate.
You could put the screenshot inside of a figure, give
the figure a title, and put the id on the figure element.
Then the xref has some text it can generate.

-- 

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: