Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
- <fo:layout-master-set>
- <fo:simple-page-master page-height="242mm" page-width="165mm" master-name="blank">
- <fo:region-body/>
- </fo:simple-page-master>
- <fo:simple-page-master page-height="242mm" page-width="165mm" master-name="main.odd.master">
- <fo:region-body margin-bottom="17mm" margin-right="42mm" margin-left="20mm" margin-top="25mm"/>
- <fo:region-after extent="20mm" region-name="main.odd.footer"/>
- </fo:simple-page-master>
- <fo:simple-page-master page-height="242mm" page-width="165mm" master-name="main.even.master">
- <fo:region-body margin-bottom="17mm" margin-right="20mm" margin-left="42mm" margin-top="25mm"/>
- <fo:region-after extent="20mm" region-name="main.even.footer"/>
- </fo:simple-page-master>
- <fo:page-sequence-master master-name="appendix.master">
- <fo:repeatable-page-master-alternatives>
- <fo:conditional-page-master-reference blank-or-not-blank="blank" master-reference="blank"/>
- <fo:conditional-page-master-reference odd-or-even="odd" master-reference="main.odd.master"/>
- <fo:conditional-page-master-reference odd-or-even="even" master-reference="main.even.master"/>
- </fo:repeatable-page-master-alternatives>
- </fo:page-sequence-master>
- </fo:layout-master-set>
- <fo:page-sequence master-reference="appendix.master">
- <fo:static-content flow-name="main.odd.footer">
- <fo:block margin-top="9mm" margin-right="9mm" text-align="right" font-family="Times New Roman" font-size="9.5pt">
- <fo:page-number/>
- </fo:block>
- </fo:static-content>
- <fo:static-content flow-name="main.even.footer">
- <fo:block margin-top="9mm" margin-left="9mm" text-align="left" font-family="Times New Roman" font-size="9.5pt">
- <fo:page-number/>
- </fo:block>
- </fo:static-content>
- <fo:flow flow-name="xsl-region-body">
- <fo:block break-before="odd-page">
- <fo:marker marker-class-name="location.marker">Apx 1</fo:marker>
- <fo:block font-family="Times New Roman" font-size="10.5pt" line-height="11.6pt" keep-with-next="always" keep-together.within-column="always" space-after="7.8pt" space-before="23.2pt" id="N10424" font-weight="bold">Appendix 1</fo:block>
- <fo:block font-family="Times New Roman" font-size="9.5pt" line-height="11.6pt" orphans="3" widows="3" text-align="justify">This page is on page 1, fine.</fo:block>
- </fo:block>
- </fo:flow>
- </fo:page-sequence>
- <fo:page-sequence master-reference="appendix.master">
- <fo:static-content flow-name="main.odd.footer">
- <fo:block margin-top="9mm" margin-right="9mm" text-align="right" font-family="Times New Roman" font-size="9.5pt">
- <fo:page-number/>
- </fo:block>
- </fo:static-content>
- <fo:static-content flow-name="main.even.footer">
- <fo:block margin-top="9mm" margin-left="9mm" text-align="left" font-family="Times New Roman" font-size="9.5pt">
- <fo:page-number/>
- </fo:block>
- </fo:static-content>
- <fo:flow flow-name="xsl-region-body">
- <fo:block break-before="odd-page">
- <fo:marker marker-class-name="location.marker">Apx 2</fo:marker>
- <fo:block font-family="Times New Roman" font-size="10.5pt" line-height="11.6pt" keep-with-next="always" keep-together.within-column="always" space-after="7.8pt" space-before="23.2pt" id="N10430" font-weight="bold">Appendix 2</fo:block>
- <fo:block font-family="Times New Roman" font-size="9.5pt" line-height="11.6pt" orphans="3" widows="3" text-align="justify">The extra page inserted before this one (page 2) is supposed to use the "blank" page master, but instead it uses the "main.even.master" one, which leads to it having a page number at the bottom.</fo:block>
- </fo:block>
- <fo:block break-before="odd-page">
- <fo:block font-family="Times New Roman" font-size="9.5pt" line-height="11.6pt" orphans="3" widows="3" text-align="justify">This block is in the SAME sequence/flow as the previous one and also has an odd-page break before it, and it DOES get a proper blank page inserted before it</fo:block>
- </fo:block>
- </fo:flow>
- </fo:page-sequence>
- </fo:root>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement