Hi,
Hmm, is this an appendix inside an article? If so, that would explain the difference between your results and mine. The generated text differs in those two cases:

<l:context name="title-numbered">
 <l:template name="appendix" text="Appendix %n. %t"/>
 <l:template name="article/appendix" text="%n. %t"/>
 ...

You will need to customize the gentext for "article/appendix" to change that. See this reference for details:

http://www.sagehill.net/docbookxsl/CustomGentext.html

BTW, in the future, please address stylesheet issues to the docbook-apps mailing list. The docbook list is for discussions of schemas.

Bob Stayton
Sagehill Enterprises
b...@sagehill.net


----- Original Message ----- From: "Giuseppe Greco" <giuseppe.gr...@agamura.com>
To: <docbook@lists.oasis-open.org>
Sent: Friday, December 02, 2011 1:18 PM
Subject: Re: [docbook] Strange HTML output...


I always get

A. My Appendix

regardless whether or not I added the appendix.autolabel param to my
customization layer.

I also tried to user the standard docbook stylesheets... but the result
is exactly the same.

j3d

On Fri, 2011-12-02 at 13:13 -0800, Bob Stayton wrote:
Hi,
The default output for DocBook XSL for appendix is:

    Appendix A. My Appendix

and in the table of contents it shows:

    A.  My Appendix

If you are getting "A. My appendix" in the appendix itself, then your 
customization
layer is doing that.

Bob Stayton
Sagehill Enterprises
b...@sagehill.net


----- Original Message ----- From: "Giuseppe Greco" <giuseppe.gr...@agamura.com>
To: "Jirka Kosek" <ji...@kosek.cz>
Cc: <docbook@lists.oasis-open.org>
Sent: Friday, December 02, 2011 12:54 PM
Subject: Re: [docbook] Strange HTML output...


> ... but doing so I get the same value as before, i.e.
>
> A. My Appendix
>
> ... while I'd like to get the nice old value:
>
> APPENDIX A. My Appendix.
>
> Is that possible?
>
> Tx,
> j3d
>
> On Fri, 2011-12-02 at 21:32 +0100, Jirka Kosek wrote:
>> On 2.12.2011 18:23, Giuseppe Greco wrote:
>>
>> > <xsl:param name="appendix.autolabel" select="1"/>
>> >
>> > ... but the appendix label is still missing. Is there something else I
>> > need to be aware of?
>>
>> Use
>>
>> <xsl:param name="appendix.autolabel">A</xsl:param>
>>
>> Some time ago this param was changed from 0/1 to values used by format
>> attribute on xsl:number.
>>
>> Jirka
>>
>>
>
> -- > ----------------------------------------
> Giuseppe Greco
> 6949 Comano
> Switzerland
>
> call giuseppe.greco via Skype
> phone:  +41 (0)91 234 51 09
> mobile: +41 (0)79 590 33 06
> email:  giuseppe.gr...@agamura.com
> ----------------------------------------
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-unsubscr...@lists.oasis-open.org
> For additional commands, e-mail: docbook-h...@lists.oasis-open.org
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-h...@lists.oasis-open.org


--
----------------------------------------
Giuseppe Greco
6949 Comano
Switzerland

call giuseppe.greco via Skype
phone:  +41 (0)91 234 51 09
mobile: +41 (0)79 590 33 06
email:  giuseppe.gr...@agamura.com
----------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-h...@lists.oasis-open.org





---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-h...@lists.oasis-open.org

Reply via email to