OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] XSL Appendix titles


Bob Stayton wrote:
> OK, but just for future reference, here is the scoop on appendix *in* 
> article.
> The title is generated from a gentext template located in common/en.xml, 
> contained in the l:context name="title-numbered" that looks like this:
> 
>   <l:template name="article/appendix" text="%n. %t"/>
> 
> The gentext template for just name="appendix" looks like this:
> 
>   <l:template name="appendix" text="Appendix %n. %t"/>
> 
> To add "Appendix" to the appendix in article, you could use the 
> local.l10n.xml parameter to customize it to:
> 
>   <l:template name="article/appendix" text="Appendix %n. %t"/>
> 
> That process is described here:
> 
> http://www.sagehill.net/docbookxsl/CustomGentext.html
> 
> This "article/appendix" gentext template is the only example in the 
> stylesheets that shows how you can specify a lineage on an element to 
> modify its gentext output for different contexts.

Ah, much appreciated, I'll make a note of that.

Regards,

Richard
begin:vcard
fn:Richard Tector
n:Tector;Richard
email;internet:richard@tector.org.uk
x-mozilla-html:FALSE
version:2.1
end:vcard

S/MIME Cryptographic Signature



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]