This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: DOCBOOK: xref to image
- From: Bob Stayton <bobs at caldera dot com>
- To: Daniel Moellenbeck <newsletter at linuxnetwork dot de>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Sun, 16 Feb 2003 18:56:58 -0800
- Subject: DOCBOOK-APPS: Re: DOCBOOK: xref to image
- References: <8010671564.20030216141217@linuxnetwork.de><20030216102252.A10641@sco.com>
On Sun, Feb 16, 2003 at 10:22:52AM -0800, Bob Stayton wrote:
> [Forwarding to docbook-apps]
>
> On Sun, Feb 16, 2003 at 02:12:17PM +0100, Daniel Moellenbeck wrote:
> > Hi,
> > i do a xref to the figure with <xref linkend="fg-template "/>.
> > In my convertet pdf document i get "Abbildung 1.1 Template-Engine"
> > with a link to my image. How can i format this xref-link, that the
> > link is only "Abbildung 1.1"?
> >
> > <figure id="fg-template">
> > <title>Template-Engine</title>
> > <mediaobject>
> > <imageobject>
> > <imagedata fileref="images\template.png"/>
> > </imageobject>
> > </mediaobject>
> > </figure>
>
> Are you using XSL or DSSSL tools?
For XSL, you need to customize the gentext for figure in
the xref context for your language. This reference tells
you how to do it.
http://www.sagehill.net/xml/docbookxsl/CustomMethods.html#CustomGenText
--
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