This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Re: Numbering for <sect>


Hi,

Thank you for your response.

Yes, I was a bit puzzled initially by Camille's reply as I'm have not seen DSSSL before.
However, this is what I've tried using XSLT:

<xsl:param name="section.autolabel">1</xsl:param>

which is the results I've spoken about in my previous question.

Now it works as I desired. Thanks!

---- Begin Original Message ----
 From: Norman Walsh <ndw@nwalsh.com>
Sent: Thu, 06 Sep 2001 14:22:22 -0400
To: docbook-apps@lists.oasis-open.org
Subject: Re: DOCBOOK-APPS: Numbering for <sect>

/ wongkokwai@asia1.com was heard to say:
| Thanks!
|
| However, the number for the sections came out like such:
|
| Chapter 1
| 1. section1
| 1.1 section1.1
| Chapter 2
| 1. section1
| 2. section2
|
| How can I make it like such:
|
| Chapter 1
| 1.1. section1
| 1.1.1. section1.1
| Chapter 2
| 2.1. section1
| 2.2. section2

I'm slightly confused because Camille's answer, which you seem to
indicate worked for you, was for DSSSL where you get the latter
behavior by default, not the former. For XSLT, you also have to set

<xsl:param name="section.label.includes.component.label" select="1"/>

Which is a really ugly name, I know. :-/

                                        Be seeing you,
                                          norm

--
Norman Walsh <ndw@nwalsh.com>      | Any bureaucracy reorganized to
http://www.oasis-open.org/docbook/ | enhance efficiency is
Chair, DocBook Technical Committee | indistinguishable from its
                                   | predecessor.

----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>


---- End Original Message ----


______________________________________________________________
For the latest news, go to http://www.asiaone.com
And get your free AsiaOne email account and home page

----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]