You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Sam Prokop <sp...@4tek.de> on 2002/04/04 17:22:57 UTC

odd-and-even pages nothing to do with initial-page-number?

Hi All!

Has odd-and-even pages nothing to do with initial-page-number?
i got the following code, and use fop 0.20.3

	...		<fo:page-sequence initial-page-number="2"
master-reference="run1">
-----------------------------------------------------------------------^
^^^^^
				<fo:static-content
flow-name="even-head">
					<fo:block text-align="start">
						<xsl:value-of
select="TYP/@ART"/>
					</fo:block>
				</fo:static-content>
				<fo:static-content
flow-name="even-foot">
					<fo:block text-align="start">
----------------------------------------------------^^^^^^
						<fo:page-number/>
					</fo:block>
				</fo:static-content>

				<fo:static-content flow-name="odd-head">
					<fo:block text-align="end">
						<xsl:value-of
select="TYP/@ART"/>
					</fo:block>
				</fo:static-content>
				<fo:static-content flow-name="odd-foot">
					<fo:block text-align="end">
						<fo:page-number/>
					</fo:block>
				</fo:static-content>
				<fo:flow flow-name="xsl-region-body">...

so the page-number should be on the left side on the first page, because
2 is an even-number, but it is on the right!
is this a known bug or am I missing something?

thanx in anticipation

Sam