This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Referencing figures withouth displaying their title
- From: "Bob Stayton" <bobs at sagehill dot net>
- To: <docbook-apps at lists dot oasis-open dot org>, Steffen Glückselig <glueckselig at gungfu dot de>
- Date: Mon, 21 Feb 2005 15:31:10 -0800
- Subject: Re: [docbook-apps] Referencing figures withouth displaying their title
- References: <opsmkdz7qcx13dgy@localhost>
----- Original Message -----
From: "Steffen Glückselig" <glueckselig@gungfu.de>
To: <docbook-apps@lists.oasis-open.org>
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
bobs@sagehill.net