[xep-support] Problems using fo:inline element inside fo:listitem
Nikolai Grigoriev
grig at renderx.com
Wed Feb 25 02:28:50 PST 2004
Dear Marc Oliver,
> When using an fo:inline inside an fo:listitem element there is no
> line-wraping.
>
> <fo:list-item keep-together="always">
> ....
This is a common problem. The reason is as follows:
keep-together is a compound property that splits into
individual components each having the same value:
keep-together.within-line="always"
keep-together.within-column="always"
keep-together.within-page="always"
By inheritance, the first component pours down to the inline level
and disables line breaks in the text. In these circumstances,
XEP tries to pack the whole block on one line; and I believe
it's the kind of behavior prescribed by the XSL spec.
To fix the issue, it is sufficient to relax the constraint:
<fo:list-item keep-together.within-column="always">
Best regards,
Nikolai Grigoriev
RenderX
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
More information about the Xep-support
mailing list