Dear Wiki user, You have subscribed to a wiki page or wiki category on "Xmlgraphics-fop Wiki" for change notification.
The following page has been changed by LucaFurini: http://wiki.apache.org/xmlgraphics-fop/SpaceResolution The comment on the change is: Other particular situations ------------------------------------------------------------------------------ }}} where the penalty value can be +inf or a finite value. + + The penalty could be added even if there is not a break condition between the blocks: this assures the presence of a feasible break, regardless of the previous element in the sequence. + + === Only the first space is conditional === + + If the resolved space after block 1 is conditional, i.e. it is discarded if the blocks are parted, the sequence can be simplified a little: + + {{{ + glue B - box - PENALTY - glue C + }}} + + where: + * glue C is the resolved space before block 2 if a break occurs + * PENALTY forbids a break + * glue B is the difference between glue C and the resolved space between the blocks if there is no break + + As in the previous situation, a penalty with a finite value can be added at the beginning of this sequence in order to assure the presence of a feasible break, or to represent a keep condition. + + === Only the second space is conditional === + + If the resolved space before block 2 is conditional, i.e. it is discarded if the blocks are parted, the sequence can be simplified much: + + {{{ + glue D - penalty - glue E + }}} + + with: + * glue D is the resolved space after block 1 if a break occurs + * penalty is a feasible break + * glue E is the difference between glue D and the resolved space between the blocks if there is no break + + In this case there is no need to have an initial penalty, as the "preferred" feasible break is the penalty element; should there be a keep condition, its value will be modified. = Examples = --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
