[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] imageobject in task leads to strange result in pdf
Hi Lars,
The task template apparently applies the
attribute-set named 'formal.object.properties' to task, and that attribute-set
has a keep-together.within-column="always" attribute. With your three tall
images that prevent the task from fitting on one page, FOP fails to handle such
a large keep.
The solution for this task is to add a processing
instruction:
<task>
<?dbfo
keep-together="auto"?>
If you want to globally turn off the keep for all
tasks, then your customization layer should have:
<xsl:attribute-set
name="formal.object.properties">
<xsl:attribute
name="keep-together.within-column">
<xsl:choose>
<xsl:when
test="self::task">auto</xsl:when>
<xsl:othewise>always</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
</xsl:attribute-set>
Personally I think task should have its own
attribute-set to make such customizations easier for tasks.
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]