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


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: DOCBOOK: xref to image


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


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