xsl-list
[Top] [All Lists]

RE: [xsl] [xsl-fo] how to suppress footers in a blank page

2009-05-12 04:41:59
Hi Geert,


You can define a simple page master named blank like this:
<fo:simple-page-master master-name="blank" 
xsl:use-attribute-sets="page.settings.blank.portrait">
        <fo:region-body region-name="region.body" display-align="center"/>
</fo:simple-page-master>

And stick this into a page sequence master like this:

<fo:page-sequence-master master-name="Chapter">
        <fo:repeatable-page-master-alternatives maximum-repeats="no-limit">
                <fo:conditional-page-master-reference master-reference="blank" 
blank-or-not-blank="blank"/>
                <fo:conditional-page-master-reference 
master-reference="odd.page" odd-or-even="odd"/>
                <fo:conditional-page-master-reference 
master-reference="even.page" odd-or-even="even"/>
        </fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>

So when every chapter is put into its own page sequence master and you force 
the chapter to end on an even page, then a blank page without header or footer 
gets added.

Best regards,

Peter




Ing. P.A. Kester
Senior Consultant


http://www.daidalos.nl/
Daidalos BV
Source of Innovation
Hoekeindsehof 1-4
2665 JZ Bleiswijk
Tel.: +31 (0) 10 850 1200
Fax: +31 (0) 10 850 1199
http://www.daidalos.nl/
KvK 27164984
De informatie - verzonden in of met dit emailbericht - is afkomstig van 
Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit 
bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit 
bericht kunnen geen rechten worden ontleend.


Van: Geert Bormans [mailto:geert(_at_)gbormans(_dot_)telenet(_dot_)be]
Verzonden: dinsdag 12 mei 2009 2:47
Aan: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Onderwerp: [xsl] [xsl-fo] how to suppress footers in a blank page

Hi,

I am adding a blank page if a chapter in a book starts on an even page, using 
break-before The footer and header are calculated dynamically with markers and 
all that How can I prevent the footer from appearing on the blank page.

I thought of having a conditional page master reference excluding the 
region-before and region-after But I suspect that I will get an error since I 
am stuffing things in a region that is not defined...

Any suggestions?

Thanks

Geert


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>