This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: position of page number
- From: Joerg Pietschmann <joerg dot pietschmann at zkb dot ch>
- To: XSL List <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 15 Nov 2001 14:53:57 +0100
- Subject: Re: [xsl] position of page number
- Organization: ZKB
- Reply-to: xsl-list at lists dot mulberrytech dot com
"Tanzila Mohammad" <tmohammad@entier-solutions.com> wrote:
> The aim is that every rightPage should have the even page number in the
> right-hand position on the page.
> While every leftPage should have the odd page number in the left-hand
> position.
This is a FO FAQ. You have to use alternate page masters
using fo:repeatable-page-master-alternatives. This allows you
to define headers and footers for odd and even pages separately.
FOP has some examples for this, look into docs\examples\pagination\franklin_alt.fo
or franklin_2pageseqs.fo
The FAQ has a more compacted code currently at
http://www.dpawson.co.uk/xsl/sect3/headers.html#d238e48
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list