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


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

Re: xrefs for figure naming.


/ 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


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