Hi Tim,
You might be able to make use of the stop-chunking PI or at least be
inspired by it:
http://docbook.sourceforge.net/release/xsl/current/doc/pi/dbhtml_stop-ch
unking.html
For your situation, you would set the depth to 3 and add the PI to any
2nd level sections when you don't want deeper chunking.
If you choose to customize, you can at least grep for "stop-chunking"
for inspiration. There are several things to change in order to get the
Next and Prev links to come out right.
Good luck,
David
> -----Original Message-----
> From: Tim Arnold [mailto:]
> Sent: Friday, April 16, 2010 2:04 PM
> To:
> Subject: [docbook-apps] dynamic chunk.section.depth
>
> Hi,
> I suppose it is impossible to set the chunk.section.depth
> dynamically, but maybe some of you will have an idea about
> how to solve my problem.
>
> For the most part we want our documents chunked to a depth of
> 2. Some sections however are very mathematically dense and/or
> long, which can lead to some very heavy HTML pages. For these
> dense sections we'd like to chunk to a depth of 3.
>
> My first guess is that I will customize the chunk template
> which determines what is or is not a chunk, maybe adding a
> parameter to that template to tell the section depth, but I'm
> not sure how to vary that within the document.
>
> any ideas?
>
> thanks,
> --Tim Arnold
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:
>
>
>