Many thanks. -----Original Message----- From: Arved Sandstrom [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 12, 2002 1:36 AM To: [EMAIL PROTECTED] Subject: RE: page sequence of different last page and rest pages
Right now (unless someone snuck it in) "last" as a value for "page-position" is not implemented. The reason is, it's not so easy to do for the general case. For example, you can fairly easily imagine simple-page-masters for "rest" and "last" that put the processor into an infinite loop if the strategy is to redo the last page of content with "last" when the end of flow is detected when laying out with "rest". So the algorithm needs be more sophisticated. Keiron and Karen's rewrite may give us more options to look ahead and make it easier to handle this situation. Hope this explains what's going on. Sorry I couldn't tell you that the feature exists. Regards, Arved Sandstrom -----Original Message----- From: Peter Velichko [mailto:[EMAIL PROTECTED] Sent: March 11, 2002 3:07 PM To: [EMAIL PROTECTED] Subject: page sequence of different last page and rest pages Hi! Please suggest how can I create page sequence of different last page and rest pages with FOP 0.20.3. The following code ship is not work correctly unfortunately :( <fo:page-sequence-master master-name="my-sequence"> <fo:repeatable-page-master-alternatives> <fo:conditional-page-master-reference page-position="first" master-reference="common_page"/> <fo:conditional-page-master-reference page-position="rest" master-reference="common_page"/> <fo:conditional-page-master-reference page-position="last" master-reference="last_page"/> </fo:repeatable-page-master-alternatives> </fo:page-sequence-master> Thank you in advance Peter Velichko
