Ron Catterall wrote:
Is this any help - straight out of Bob's book, p.238-249 (3rd edit.)

use something like <xref linkend="someID" xrefstyle="page_ref"/>

and put this in the customization layer (change styles to whatever you want.)

<!-- ==================================================================== -->
<!-- define named xrefstyles for appendix, chapter, figure, part, sect1,sect2, sect3 section, table (all same: "page_ref"), and for formalpara ("fp_page_ref") -->
<xsl:param name="local.l10n.xml" select="document('')" />
<l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0";>
<l:l10n language="en">
<l:context name="xref-number-and-title">
<l:template name="appendix" style="page_ref" text="Appendix&#x00A0;%n&#x002C;&#x00A0;&#x201C;%t&#x201D;&#x002C;&#x00A0;&#x0070;&#x002E;%p" />

<l:template name="sect3" style="page_ref" text="Section&#x00A0;%n&#x002C;&#x00A0;&#x201C;%t&#x201D;&#x002C;&#x00A0;&#x0070;&#x002E;%p" />

Or for those without Unicode Version X in front of them...

 <l:template name="sect3"    style="page_ref"
        text='Section %n  on Page  %p'        />

Produces

See Section 4.4.4 on Page 8

which is just what I wanted since the target was at sect3

Thanks Ron, and Jere.

regards






--
Dave Pawson
XSLT, XSL-FO and Docbook FAQ
http://www.dpawson.co.uk


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to