Re: [xep-support] How to force the beginning of a flow on an odd page?

From: Alexander Peshkov (peshkov@renderx.com)
Date: Fri Jan 16 2004 - 03:22:18 PST

  • Next message: Marc: "Re: [xep-support] How to force the beginning of a flow on an odd page?"

    Hello Marc,

    The situation you describe reveals incorrect behavior of XEP indeed.
    I believe the XEP should have selected pagemaster for 'blank' page in
    this case. However in your case more convenient way to achieve desired
    effect is to set force-page-count="end-on-even" on the previous
    page-sequence (this property aimed to the cases like this one by XSL FO
    spec and works fine with XEP).

    Best regards,
    Alexander Peshkov mailto:peshkov@renderx.com
    RenderX

    M> Hello
    M> I try to begin a new page-sequence on odd page, then sometimes it needs to introduce a blank page.
    M> I think it's a really classical problem, but I don't find the solution to avoid the header (static-content) of the even page..
    M> I introduce an empty block with the break-before attribute at the beginning of the flow that I want to begin on an odd page.
    M> ------<fo:flow flow-name="xsl-region-body">
    M> ---------<fo:block break-before="odd-page"></fo:block>
    M> and in the page-sequence-master I introduce the blank concept
    M> ----------------------
    M> <fo:page-sequence-master master-name="page-normale">
    M> <fo:repeatable-page-master-alternatives>
    M> <fo:conditional-page-master-reference
    M> master-reference="page-blanche"
    M> blank-or-not-blank="blank"/>
    M> <fo:conditional-page-master-reference
    M> master-reference="page-paire"
    M> blank-or-not-blank="not-blank"
    M> odd-or-even="odd"/>
    M> <fo:conditional-page-master-reference
    M> master-reference="page-impaire"
    M> blank-or-not-blank="not-blank"
    M> odd-or-even="even"/>
    M> </fo:repeatable-page-master-alternatives>
    M> </fo:page-sequence-master>
    M> --------------------
    M> the odd and even page have static-content to define header.
    M> A the end in the result, I have a blank page, but with the odd header.

    M> I read and reread the specification to find why, but I don't understand.
    M> Does anyone has an example?
    M> Thanks
    M> Marc

    M> -------------------
    M> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    M> in the body of the message to majordomo@renderx.com from the address
    M> you are subscribed from.
    M> (*) 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 : Fri Jan 16 2004 - 03:29:33 PST