This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
xrefs for figure naming.
- To: docbook-apps at lists dot oasis-open dot org
- Subject: DOCBOOK-APPS: xrefs for figure naming.
- From: Dave Pawson <daveP at dpawson dot freeserve dot co dot uk>
- Date: Sat, 07 Jul 2001 14:56:12 +0100
Use case:
I'm writing a multi part document, say book,
with chapters.
I have n png images in this chapter.
I want to be able to use xref to get the figure reference
from the mediaobject.
I want the output from below to produce
'The ideas are shown in Figure 5.1. '
The html to produce a hot link, the print output to produce
plain text insertion.
Presently, I have no idea what is a valid end term for xref.
Is this a reasonable feature request?
I think so.
Regards DaveP
The ideas are shown
in <xref linkend="fig5-1" endterm="fig5-1ref"/>.
<mediaobject id="fig5-1">
<imageobject>
<imagedata fileref="../images/fig5-1.png" format="PNG"/>
</imageobject>
<textobject>
<para>This is the caption.</para>
</textobject>
<caption>
<para id="fig5-1ref">Figure 5.1. </para>
</caption>
</mediaobject>