Re: Complex Page Numbering

"W. Eliot Kimber" <[email protected]>
Newsgroups gmane.text.xml.xsl.general
Organization ISOGEN International
Message-ID <[email protected]>
> 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, [email protected]
Consultant, ISOGEN International

1016 La Posada Dr., Suite 240
Austin, TX  78752 Phone: 512.656.4139
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.