Re: last page and first page at the same time

I have the same problem as Patrick Gilhuijs used to have. 
I want the last page footer to be different from footers on all other pages.

If there is only one page, then the last page footer should be displayed.

I have already tried (what was an answer to Patrick's question) 

<page-sequence-master master-name="frame-pages"> 
  <repeatable-page-master-alternatives maximum-repeats="1"> 
	<conditional-page-master-reference page-position="last"
master-reference="C"/> 
	<conditional-page-master-reference page-position="first"
master-reference="A"/>
 </repeatable-page-master-alternatives> 

 <repeatable-page-master-alternatives>
	<conditional-page-master-reference page-position="last"
master-reference="B"/> 
	<conditional-page-master-reference page-position="rest"
master-reference="A"/> 
 </repeatable-page-master-alternatives> 
</page-sequence-master>

but it seems that I did not succeed to properly set other fo elements like:
a) fo:simple-page-master sections for neither of A, B, and C pages 
b) corresponding footers in  <fo:page-sequence
master-reference="frame-pages"> section.

I am not sure if this is too much to ask but could you provide us with the
complete code example.

Also, I use apache-fop 0.20.5. 

Thanks
Milenko Milanovic





---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.502 / Virus Database: 300 - Release Date: 7/18/2003
 

Received on Monday, 28 July 2003 14:50:44 UTC