Re: page break

At 01/06/22 13:41 +0100, David Carlisle wrote:

> > wanted to say that I put it just before </fo:flow>.
> > And it work very fine.
>
>but surely it will stop working if you have any fo:float in your
>document that float past that point, as your <fo:block id="lastBlock"/>
>will not be on the last page any more.

When would an fo:float float past the end of the flow?  Does it not float 
to the top of the page in which the float is defined, and would it not, 
therefore, push the point where the float is defined off to the next page 
when both won't fit?  Then, wouldn't the last block be after that point, 
thus would be at the end of the document?

In 6.10.2, under "Constraints:", it states:

   A block-area generated by the fo:float may only be descendant
   from a before-float-reference-area that is (a) descendant
   from a "region-reference-area" generated using the
   region-master for the region to which the flow that has the
   fo:float as a descendant is assigned, and (b) is descendant
   from the same page containing the anchor-area, or from a page
   following that page.

While I can understand (and expect) under (b) the presence on the same 
page, I cannot see in section 6.10 how under (b) a float is allowed on a 
subsequent page.

...................... Ken


--
G. Ken Holman                      mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd.               http://www.CraneSoftwrights.com/f/
Box 266, Kars, Ontario CANADA K0A-2E0     +1(613)489-0999   (Fax:-0995)
Web site:     XSL/XML/DSSSL/SGML/OmniMark services, training, products.
Book:  Practical Transformation Using XSLT and XPath ISBN 1-894049-06-3
Article: What is XSLT? http://www.xml.com/pub/2000/08/holman/index.html
Next public instructor-led training:      2001-08-12,08-13,09-19,10-01,
-                                               10-04,10-22,10-29,02-02

Training Blitz: 3-days XSLT/XPath, 2-days XSLFO in Ottawa 2001-10-01/05

Received on Sunday, 24 June 2001 21:28:01 UTC