OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook] Sidebar without title

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]">
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
----- Original Message -----
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?


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]