Hi Claudio,
That space is caused by the first para element in the sidebar, which generates
an fo:block that looks like this:
<fo:block space-before.optimum="1em" space-before.minimum="0.8em"
space-before.maximum="1.2em">para in sidebar</fo:block>
So to handle the case of para first in a sidebar, you could add a template like
this to your customization layer:
<xsl:template match="d:sidebar/*[1][self::d:para]">
<fo:block>
<xsl:apply-templates/>
</fo:block>
</xsl:template>
This matches on the first child element of sidebar if it is a para element, and
then does not apply the 'normal.para.spacing' attribute-set to its block. If
you are using the non-namespaced stylesheets, omit the d: namespaces prefixes.
Bob Stayton
Sagehill Enterprises
[email protected]
----- Original Message -----
From: Claudio Tubertini
To: [email protected]
Sent: Tuesday, May 15, 2012 1:15 AM
Subject: [docbook] Sidebar without title
I'm working on a file with sidebars that do not have title and I would like
to produce a PDF file. Someone knows how to format the sidebars without having
a blank line in the place of the title?
Regards
Claudio