Luca Furini wrote:
Chris Bowditch wrote:
I just knocked up a small test case and although retain is honoured,
discard is ignored. I knew it wasn't quite yet working but didn't
realise retain was working :) I'll update the Wiki.
Could you please also attach your file?
Here is the sample:
<fo:simple-page-master master-name="a4" page-width="210mm"
<fo:region-body margin-top="90mm" margin-bottom="90mm"
<fo:flow flow-name="xsl-region-body" font-size="18pt">
space-before.conditionality="retain">There should be 5mm of space before
space-before.conditionality="discard">There should not be any space
before this block
I have tested a simple sequence of blocks with conditional spaces and
the output seems ok; the output of the testcase space-block2.xml seems
correct too (I'm going to add checks).
Not true, space-block2.xml does not work. On the second page, there
should not be any space between the two paragraphs.