This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: Referencing examples and figures
- From: Norman Walsh <ndw at nwalsh dot com>
- To: Sebastian Bergmann <lists at sebastian-bergmann dot de>
- Cc: docbook at lists dot oasis-open dot org
- Date: Wed, 11 Sep 2002 13:50:04 -0400
- Subject: DOCBOOK: Re: Referencing examples and figures
- References: <n2m-g.3D7F7BCF.A012992A@sebastian-bergmann.de>
/ Sebastian Bergmann <lists@sebastian-bergmann.de> was heard to say:
| Hi there.
|
| How do I best go about referencing <figure>s and <example>s, so that
| I only get their number in the rendered output, when using the DocBook
| XSL stylesheets?
|
| Example:
|
| <para>
| Example <reference/> shows ...
You want <xref> here.
| Output:
|
| Example 4.2 shows ...
You'll have to tweak the l10n a bit to get rid of the default leading
"Example". Follow-up to DocBook-apps, please, if you need more help
with that.
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | 'tis expressly against the law of
http://www.oasis-open.org/docbook/ | arms: 'tis as arrant a piece of
Chair, DocBook Technical Committee | knavery, mark you now, as can be
| offer't; in your conscience, now,
| is it not?--Fluellen, Henry V