[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] xref, fo output.
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 %n, “%t”, p.%p" > /> > <l:template name="sect3" style="page_ref" > text="Section %n, “%t”, p.%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
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]