← Prev in month ← Prev in thread

Custom Xref Formatting

From
David White <>
Date
2005-12-19T16:51:31+00:00
ID
001601c604bc$e6d32d80$
Thread
Custom Xref Formatting
I have :

                                    <figure id="i329971b"
pgwide="1">

                                                <title/>

                                                <mediaobject>

                                                            <imageobject>

                                                                        <imagedata
fileref="file:///c: /0001126C.eps" contentwidth="6.500in"
contentdepth="3.386in"/>

                                                            </imageobject>

                                                </mediaobject>

                                    </figure>

 

And I’m using the following
<xref> to reference this figure.

 

<emphasis role="strong">(<xref
xrefstyle="select: label" linkend="i329971b"/>,(1))</emphasis>

 

This generates an output like this: (Figure 1,(1)) ß
the “1” changes the rest of the text is fixed.

 

Is there a better way to reduce the
amount of code used in my <xref> statement?  I’ve tried to add
custom formatting but it doesn’t seem to take effect.

 

What I would like to achieve is
something like this (making up my own tag here):

<xref xrefstyle=”template:
figurewparens” linkend=”i329971b” value=”1”/>  
to output (Figure 1,(1))

 

Is this possible?

 

Thanks,

 

David
 White
← Prev in month ← Prev in thread