Re: Alternate page sequences independently on odd or even page number

2007-10-24 Thread ahaddad
Strange, but seems to work:


  



  
  



  


When I change page-position="any" to page-position="rest" in the second
fo:repeatable-page-master-alternatives, it does not work any more!
I looked to FOP sources and it seems to use flags like isFirst, isLast,
isRest... on every new page to choose the right template page-master to
use.

Tomorrow, the big test on the Xerox. It will be heart-braking if it fails!

Thanks Ladies and Gentlemen.

A+. Ahmed HADDAD.

> Hello FOP experts!
>
> I have the following problem: inside a big edition, some page-sequences
> do use recto-verso pre-printed formulars.
>
> So, I am using the following fo:repeatable-page-master-alternatives
> structure:
>
> 
>   
> master-reference="releve_quit_verso"
>odd-or-even="any"
>page-position="first"/>
> master-reference="releve_quit_verso"
>odd-or-even="even"
>page-position="any"/>
> master-reference="releve_quit_recto"
>odd-or-even="odd"
>page-position="any"/>
>   
> 
>
> But, of-course, it doesn't work when the first page has an odd
> page-number. In this case, the master-reference "releve_quit_verso" is
> printed two times (the first time because-off the page-position="first"
> attribute, the second because-of the odd-or-even="even")...
>
> So the question is: how to direct the fo:flow in such a way that the
> first page always uses the "releve_quit_verso" template, and then
> alternate recto/verso sides independently of the global page number (odd
> or even)?
>
> The aim is to avoid generating blank pages or force page numbers because
> the edition is using other page sequences which can be printed in any
> order (so I can't reinitialize the page number when "releve_quit"
> page-sequence-master begins) !!
>
> Thanks for any help.
>
> Ahmed HADDAD.
>
>
>
>
> - To
> unsubscribe, e-mail: [EMAIL PROTECTED] For
> additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Alternate page sequences independently on odd or even page number

2007-10-24 Thread ahaddad
Hello FOP experts!

I have the following problem: inside a big edition, some page-sequences
do use recto-verso pre-printed formulars.

So, I am using the following fo:repeatable-page-master-alternatives
structure:


  



  


But, of-course, it doesn't work when the first page has an odd
page-number. In this case, the master-reference "releve_quit_verso" is
printed two times (the first time because-off the page-position="first"
attribute, the second because-of the odd-or-even="even")...

So the question is: how to direct the fo:flow in such a way that the
first page always uses the "releve_quit_verso" template, and then alternate
recto/verso sides independently of the global page number (odd or even)?

The aim is to avoid generating blank pages or force page numbers because
the edition is using other page sequences which can be printed in any
order (so I can't reinitialize the page number when "releve_quit"
page-sequence-master begins) !!

Thanks for any help.

Ahmed HADDAD.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]