Re: complex pagination again

At 2002-10-22 18:53 +0000, Kiki AMEDJA wrote:
>This is me again with a pagination trouble:
>I want the first page of each chapter to fullfill these conditions:
>    a) have a margin-top of a certain value(let's say "80mm")
>    b) still be part of  the pagination syle i mentioned in my last post( 
> page number left-justified for left pages and right-justified for right pages)
>Right now, i can get any get either of a) or b) not both

According to what you have written in your example, you will need to create 
four page geometries, two "left" geometries (one for the first page and one 
for others), and two "right" geometries (one for the first page and one for 
the others), and then use two tests in the first two:

In pseudo-FO:

   <alternatives>
     <conditional page-position="first" odd-or-even="odd" ...>
     <conditional page-position="first" odd-or-even="even" ...>
     <conditional odd-or-even="odd" ...>
     <conditional odd-or-even="even" ...>
   </alternatives>

The processor walks through conditional references in document order 
looking for the first match of all three possible conditions: order, 
parity, blankness.

I hope this helps.

................. Ken


--
G. Ken Holman               mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd.        http://www.CraneSoftwrights.com/f/
Box 266, Kars, Ontario CANADA K0A-2E0  +1(613)489-0999 (F:-0995)
ISBN 0-13-065196-6                     Definitive XSLT and XPath
ISBN 0-13-140374-5                             Definitive XSL-FO
ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath
ISBN 1-894049-10-1             Practical Formatting Using XSL-FO
Next public training:          2002-12-08,2003-02-03,06,03-03,06

Received on Wednesday, 23 October 2002 11:02:46 UTC