This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
RE: [docbook] referencing an image
- From: Jeff Beal <jeff dot beal at ansys dot com>
- To: 'Bob Stayton' <bobs at sco dot com>, Vivek Nallur <nvivek at ncst dot ernet dot in>
- Cc: docbook at lists dot oasis-open dot org
- Date: Thu, 1 May 2003 09:27:48 -0400
- Subject: RE: [docbook] referencing an image
Other options include:
- add an xreflabel attribute to the graphic element; the XRef will then
generate this as the text of the link
- Use a <link/> instead of an <xref/>. This still gives you the automatic
linking using the linkend attribute, but you specify the text that will
appear in the link
> -----Original Message-----
> From: Bob Stayton [mailto:bobs@sco.com]
> Sent: Thursday, May 01, 2003 1:43 AM
> To: Vivek Nallur
> Cc: docbook@lists.oasis-open.org
> Subject: 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: bobs@sco.com
>
---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-help@lists.oasis-open.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-help@lists.oasis-open.org