This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


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



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