Jacques,
I think what's going on is that the space between a section
title and the following elements is determined by both the
sapce-after.xxx values in section.title.properties and the
space-before.xxx values for the following elements. For
example, if the first element after the title is a paragraph,
then the normal.para.spacing attribute set's values for
space-before.xxxx also apply.
I was able to get the effect you are after by adjusting
space-before.xxx in normal.para.spacing and space-after.xxx
in section.title.properties (try making them 0pt). You'll
also need to play around with the space-after.xxx values
in normal.para.spacing, unless you want no spacing between
paragraphs.
It will probably take some tweaking, but I think you can
get what you want by playing with those values.
Dick Hamilton
> -----Original Message-----
> From: Jacques Foucry [mailto:]
> Sent: Tuesday, May 16, 2006 6:34 AM
> To: docbook-apps
> Subject: [docbook-apps] Space before and after section title
>
>
> Hello,
>
> I'm trying to modify the space before a section title (about
> twice of
> the title font size) and after the title (the minimum available).
>
> I used something like that :
>
> <xsl:attribute-set name="section.title.properties">
> <xsl:attribute name="font-weight">bold</xsl:attribute>
> <xsl:attribute
> name="space-before.minimum">30pt</xsl:attribute>
> <xsl:attribute
> name="space-before.optimum">25pt</xsl:attribute>
> <xsl:attribute
> name="space-before.maximum">20pt</xsl:attribute>
> <xsl:attribute
> name="space-after.minimum">12pt</xsl:attribute>
> <xsl:attribute
> name="space-after.optimum">12pt</xsl:attribute>
> <xsl:attribute
> name="space-after.maximum">12pt</xsl:attribute>
> </xsl:attribute-set>
>
> But the result is not really what I expected. I would like that :
>
>
> this is the last line of a para.
>
>
> The title of the next para (which will be 1.2*para font size and bold)
> The first line of the next para.
>
> How can I do that ?
>
> Thanks in advance,
> Jacques
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:
>
>
>