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-apps] Referencing figures withouth displaying their title


----- 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




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