This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] Re: xrefstyle attribute; pagenumber; %p
- From: Steve Whitlatch <swhitlat at getnet dot net>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Thu, 18 Mar 2004 19:27:51 -0700
- Subject: [docbook-apps] Re: xrefstyle attribute; pagenumber; %p
- Organization: Steve Whitlatch, Inc.
- References: <1079635775.18881.ezmlm@lists.oasis-open.org>
- Reply-to: swhitlat at getnet dot net
Thanks Thomas Gier,
It is good to see lots of code for doing things different ways. I
haven't yet started customizing the gentext template, but maybe it is
time. This solution looks extensible.
Steve Whitlacth
>Just add something like this to your customisation:
> <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="sect1" style="steve" text="Chapter %n %t on
> page %p"/>
>? ? ? ?<l:template name="sect2" style="steve" text="Chapter %n %t on
> page %p"/>
> ? ? ? ?<l:template name="sect3" style="steve" text="Chapter %n %t on
> page %p"/>
>
> ? ? ?<l:template name="sect1" style="short" text="Chapter %n"/>
> ? ? ?<l:template name="sect2" style="short" text="Chapter %n"/>
> ? ? ?<l:template name="sect3" style="short" text="Chapter %n"/>
>? ? ?</l:context>
>? ?</l:l10n>
> </l:i18n>
> In your document you simply put
> ? See <xref linkend="whatever" xrefstyle="steve">
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.