[xep-support] float before leaves the page empty

From: Honza Pazdziora (adelton@informatics.muni.cz)
Date: Sun Sep 07 2003 - 07:26:48 PDT

  • Next message: Kevin Yank: "[xep-support] Rendering DocBook sets as multiple documents"

    Hello,

    I have started using XEP 3.5.4. I took the example code from the Using
    XSL FO with XEP 3.5, page 27 and modified it a little, see below. The
    <fo:float float="before"> is correctly floated to the next page, the
    text that follows appears back on the first page. However, once the
    text reaches the end of the first page, it follows on the third page.
    The rest of the second page, under the float, is left empty.

    Is this the expected behaviour? Is there any way to make the flow of
    text to fill the space on the second page, under the float?

    <?xml version="1.0"?>

    <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
      <fo:layout-master-set>
        <fo:simple-page-master master-name="my-page">
          <fo:region-body margin="1in"/>
        </fo:simple-page-master>
      </fo:layout-master-set>
      <fo:page-sequence master-reference="my-page">
        <fo:flow flow-name="xsl-region-body">
          <fo:block font-size="14pt">Hello, world!</fo:block>

          <fo:block>
            This block includes a fo:float.
            <fo:float float="before">
              <fo:block text-align="center" border="1pt solid gray">
                    The content.
              </fo:block>
              <fo:block>
              A smiling face.
              </fo:block>
            </fo:float>
            This text follows the float anchor.
          </fo:block>

          <fo:block>
            A sentence to fill the space. Please repeate this sentence
            a couple hundred times to fill at least one page.
          </fo:block>

        </fo:flow>
      </fo:page-sequence>
    </fo:root>

    Yours,

    -- 
    ------------------------------------------------------------------------
     Honza Pazdziora | adelton@fi.muni.cz | http://www.fi.muni.cz/~adelton/
     .project: Perl, mod_perl, DBI, Oracle, auth. WWW servers, XML/XSL, ...
    		Only self-confident people can be simple.
    -------------------
    (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    in the body of the message to majordomo@renderx.com from the address
    you are subscribed from.
    (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
    


    This archive was generated by hypermail 2.1.5 : Sun Sep 07 2003 - 07:33:19 PDT