Re: [docbook-apps] Referencing figures withouth displaying their title

From
"Cob Rtayton"
Date
2005-02-21T23:31:20+00:00
ID
022a01c5186d$6cc35650$6b00a8c0@toshiro
Thread
Re: [docbook-apps] Referencing figures withouth displaying their title
----- Original Message ----- 
From: "Steffen Glückselig" <>
To: <>
Sent: Monday, February 21, 2005 12:32 PM
Subject: [docbook-apps] Referencing figures withouth displaying their title

> Hello,
>
> I am referncing figures with <xref linkend="figureID"/> which results,
using the FO-stylsheet, in something
> like
> Figure 1.2, "title of figure"
> I would rather have only the number of the figure without the title. What
would I have to do?

You need to customize the generated text, as described in:

http://www.sagehill.net/docbookxsl/CustomXrefs.html#XrefGentext

You want to change the figure entry in the 'xref-number-and-title' context.
That context is used because figures have both number and a title.

Bob Stayton
Sagehill Enterprises
DocBook Consulting