This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: xrefs for figure naming.
- To: docbook-apps at lists dot oasis-open dot org
- Subject: Re: DOCBOOK-APPS: xrefs for figure naming.
- From: Norman Walsh <ndw at nwalsh dot com>
- Date: Sat, 07 Jul 2001 15:02:28 -0400
- References: <5.1.0.14.2.20010707145154.02aa5ec0@127.0.0.1>
/ Dave Pawson <daveP@dpawson.freeserve.co.uk> was heard to say:
| '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.
Uh, yeah, but if you want them to be Figures, why aren't you putting
them in <figure> elements? If you then put the ID on the <figure>,
you'd get precisely what you want.
| 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>
Ah, the interesting wrinkle here is that these must be figures without
titles.
Is that the reason you're not using <figure>?
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | Some people do their laundry in
http://www.oasis-open.org/docbook/ | emacs, but I find typing
Chair, DocBook Technical Committee | ^C-^X-^W-q-L-TT to add the fabric
| softener to be a bit
| cumbersome.--rlr@panix.com