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]
Other format: [Raw text]

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

To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


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