RE: [xep-support] float before leaves the page empty

From: Joseph Hertzlinger (jhertzlinger@dclab.com)
Date: Tue Oct 07 2003 - 11:30:20 PDT

  • Next message: Nikolai Grigoriev: "Re: [xep-support] float before leaves the page empty"

    I have encountered the same problem. Has it been fixed in 3.6.x? Xep looks like an excellent product in other respects, but we might decide to use PassiveTeX or look for other solutions instead.

    -----Original Message-----
    From: Honza Pazdziora [mailto:adelton@informatics.muni.cz]
    Sent: Sunday, September 07, 2003 10:27 AM
    To: xep-support@renderx.com
    Subject: [xep-support] float before leaves the page empty

    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
    -------------------
    (*) 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 : Tue Oct 07 2003 - 11:35:05 PDT