This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: Referencing examples and figures
- From: Dave Pawson <dpawson at nildram dot co dot uk>
- To: Sebastian Bergmann <lists at sebastian-bergmann dot de>,docbook at lists dot oasis-open dot org
- Date: Wed, 11 Sep 2002 18:59:52 +0100
- Subject: Re: DOCBOOK: Referencing examples and figures
At 18:22 11/09/2002, Sebastian Bergmann wrote:
> 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 ...
> </para>
>
> <example>
> ...
> </example>
>
> Output:
>
> Example 4.2 shows ...
<para> <xref="ex1002"/> shows .....
then
<example id="ex1002">
<title>Background and border colours</title>
<programlisting format="linespecific">
hth DaveP