← Prev in month ← Prev in thread

section.autolabel.max.depth

From
Remo Liechti <>
Date
2006-08-10T16:53:30+00:00
ID
Thread
section.autolabel.max.depth
Hi guys
I converted my docbook using XSL and some properties to create my PDF.

My docbook has some tree like sections:

<section>
..
	<section>
		...
		<section>
		...
		</section>
	</section>
	<section>
		...
		<section>
		...
		</section>
	</section>
</section>
<section>
..
	<section>
		...
	</section>
</section>



The sections should rendered to PDF like this:
1. section one
1.1 section one dot one
1.1.1 section one dot one dot one

1.2 section one dot two
1.2.1 section one dot two dot one

2. section two
2.1 section two dot one


This can be done by the properties:
section.autolabel
section.label.includes.component.label



but badly, this generates:
1. section one
1.1 section one dot one
section one dot one dot one

1.2 section one dot two
section one dot two dot one

2. section two
2.1 section two dot one

You see, it only goes down one node... to tell the XSL to go down more
steps, a property exists:
section.autolabel.max.depth

(When section numbering is turned on by the section.autolabel parameter,
then this parameter controls the depth of section nesting that is
numbered. Sections nested to a level deeper than this value will not be
numbered.)

But this does not work.

Any ideas?
Attached you find the generated FO, I don't know XSL this good, maybe
you find an answer in there?

Thanks,
Remo
This message may contain legally privileged or confidential information and is therefore addressed to the named persons only. The recipient should inform the sender and delete this message, if he/she is not named as addressee.
The sender disclaims any and all liability for the integrity and punctuality of this message. The sender has activated an automatic virus scanning, but does not guarantee the virus free transmission of this message.
← Prev in month ← Prev in thread