W3C home > Mailing lists > Public > www-xsl-fo@w3.org > November 2002

Re: Complex Page Numbering

From: W. Eliot Kimber <eliot@isogen.com>
Date: Thu, 07 Nov 2002 09:00:26 -0600
Message-ID: <3DCA800A.7070106@isogen.com>
To: www-xsl-fo@w3.org

> 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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:10 GMT