On Oct 3, 2005, at 16:11, Jeremias Maerki wrote:
On 02.10.2005 00:57:07 J.Pietschmann wrote:
Jeremias Maerki wrote:
On 27.09.2005 16:38:23 Luca Furini wrote:
[the usual layout oscillation/convergence problem]
What is the expected output?
In this case it has to generate a blank page IMO.
The expected output is that there is some content (area with bpd>0) on
the last page, even if this sounds suboptimal.
Ah, so we need to define first, what we really want to expect. :-) Does
the spec say anything about the expected behaviour?
I believe this can be (more or less) inferred from the fact that there
are actually three sub-conditions, namely: page-position, odd-or-even
and blank-or-not-blank.
Given that:
a) all three sub-conditions have to be true for the condition on the
fo:conditional-page-master to be true (= to make it eligible for
selection)
b) the initial value for 'blank-or-not-blank' is 'any'
Then I'd conclude that both the described expected outputs --blank page
or one filled with some content-- are allowed in case there is no
explicit blank-or-not-blank sub-condition specified on the fo:c-p-m in
question (or an explicit "any", which comes down to the same thing).
If and only if you have a fo:c-p-m with both page-position="last" and
blank-or-not-blank="blank", the output of one blank last page is the
only correct output. Same thing for Joerg's expectation, which is the
only correct output in case you have page-position="last" and
blank-or-not-blank="not-blank".
Note: in both cases I'm assuming this to be the only fo:c-p-m with a
condition page-position="last".
I'm not absolutely sure, so correct me if I'm wrong...
For instance: I'm wondering whether the conditions *have* to be met, so
that the layout-engine would, if necessary, have to perform all sorts
of magic tricks to force the content to meet the criteria, or whether
OTOH, the layout-engine only *has* to choose a particular fo:c-p-m if
the criteria actually are met (?)
Anyone?
Cheers,
Andreas