[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook] image / picture number and reference
On Thu, Jun 17, 2004 at 05:40:10PM +0200, Thomas Richter wrote:
> I want reference an mediaobject like:
> | For blah foo see figure <ref to the picture>
> Is this possible?
Yes. If you are referring to a figure, put an 'id' attribute on the
figure element, and then refer to the figure elsewhere with an 'xref'
element. So you would do something like this:
<figure id="fig.foo">
<mediaobject>
...
</mediaobject>
</figure>
...
<para>For blah foo see <xref linkend="fig.foo"/>.</para>
If you want the 'xref' to expand into "Figure n", for some value of n,
add the attribute 'xrefstyle="select: label"' to that 'xref'.
--
Paul.
mailto:paulh@logicsquad.net
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]