[xep-support] How to handle spacing between a block _within_ a list and the block _after_ the list

Jeffrey Thalhammer thalhammer at apple.com
Wed Apr 1 10:30:20 PDT 2009


> Hi Jeffrey,
>
> When you assign the space-after to the fo:list-item element, instead  
> of
> the last <fo:block> element, this problem would be solved.
> See the attached sample.fo file

Thanks for the quick reply, Henk. That does work indeed, but it  
doesn't quite address the issue.  This is a better example:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sample 2.fo
Type: application/octet-stream
Size: 1591 bytes
Desc: not available
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20090401/a9ccd0f1/attachment.obj>
-------------- next part --------------



The design rule is about the spacing of blocks within the list-item,  
not the list-item itself.  So in this example, there is a single list- 
item that contains two blocks.  Each block has a space-after  
attribute, but we would like the space after the second block to be  
merged with the space-before on the block that follows the list.  The  
only solution that we've found is to set space-after=0 for the last  
block within the last list-item.  But this is a little problematic for  
our transformation system, so I was hoping there was some built-in way  
to resolve the spacing since the blocks *appear* adjacent in the  
rendered document, even though they are not adjacent in the FO  
structure.

Any thoughts?


Jeffrey Thalhammer
mailto:thalhammer at apple.com





More information about the Xep-support mailing list