This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Turn off page number for xrefs to parts
- From: Bob Stayton <bobs at sco dot com>
- To: Sean Wheller <seanwhe at yahoo dot com>
- Cc: docbook apps <docbook-apps at lists dot oasis-open dot org>
- Date: Thu, 30 Oct 2003 09:29:13 -0800
- Subject: Re: [docbook-apps] Turn off page number for xrefs to parts
- References: <20031030082345.57809.qmail@web41608.mail.yahoo.com>
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/.