Re: Complex Page Numbering

> At 09:55 2002 11 07 +0000, Kiki AMEDJA wrote:

>><fo:page-sequence-master master-name="sequence-texte">
>>  <fo:repeatable-page-master-alternatives>
>>  <fo:conditional-page-master-reference page-position="first" master-reference="first"/>
>>  <fo:conditional-page-master-reference page-position="rest"  
>>master-reference="rest"/>
>>  </fo:repeatable-page-master-alternatives>
>></fo:page-sequence-master>
> 

Note that "rest" for page-position *does not* mean "not first". It means 
"not first and not last". That means that the last page in a page 
sequence will match no master in this case and the fallback behavior is 
undefined (although will likely be to select the last master that matches).

The better value for page-position in this case is "any". Note also that 
when the value is "any", that the page-position="first" conditional page 
master reference must come first, otherwise it will never be matched.

Cheers,

Eliot
-- 
W. Eliot Kimber, eliot@isogen.com
Consultant, ISOGEN International

1016 La Posada Dr., Suite 240
Austin, TX  78752 Phone: 512.656.4139

Received on Thursday, 7 November 2002 09:59:41 UTC