[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Turn off page number for xrefs to parts
On Thu, Oct 30, 2003 at 12:23:45AM -0800, Sean Wheller wrote: > Bob wrote: > What version of the stylesheets are you using? ... > > > Bob, > > Now all I want to do is turn off the page reference > when xref is to part. > Part I "Some Title" > > But, I still want xref to chapter, section, figure, > table, procedure etc. to have page number > Part I "Some Title" [#] The page citation is generated by applying templates to the target element in mode="page.citation". There is only one template in that mode in the stock stylesheets and it has match="*", so it applies to all targets. If you want to customize the behavior for part, then add a new template in that mode. In your case, it should just be an empty template. <xsl:template match="part" mode="page.citation"> </xsl:template> -- Bob Stayton 400 Encinal Street Publications Architect Santa Cruz, CA 95060 Technical Publications voice: (831) 427-7796 The SCO Group fax: (831) 429-1887 email: bobs@sco.com
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]