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] | |
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
Attachment:
pgp00000.pgp
Description: PGP signature
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |