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] Custom appendix titles... what went wrong?


Hi,
The example you provided was for English, but you didn't provide an example 
of what you tried for Italian.

When I set lang="it" on the root element of a document and process it with 
the stock stylesheets, my appendix output has Appendice A. Title.  If you 
are getting just A. Title then there must be some other customization being 
used.  In my output, only the Table of Contents shows A. Title.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Luciano Scavizzi" <feanorelf@gmail.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Thursday, July 27, 2006 3:55 PM
Subject: [docbook-apps] Custom appendix titles... what went wrong?


>I am trying to have custom Appendix Titles, just as in
>
> <http://www.dpawson.co.uk/docbook/styling/custom.html#d2212e1235>,  i.e.
>
> <xsl:param name="local.l10n.xml" select="document('')"/>
> <l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0";>
>  <l:l10n language="en">
>    <l:context name="title-numbered">
>      <l:template name="appendix" text="Appendix %n: %t"/>
>    </l:context>
>  </l:l10n>
> </l:i18n>
>
> only difference: I am using Italian.
>
> and I confess I am feeling very stupid, because my results sum up to
> nothing, and I still get an appendix title of the kind:
>
>     A. Title
>
> (BTW I have seen that my standard it.xml already has the chunk of code 
> above).
>
> Now, I could work directly on the title generating template, but I
> liked the KISS way here above.
>
> Is there something I am missing to have it work?
>
> P.S. I am using XSL1.701.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
>
> 




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