W3C home > Mailing lists > Public > www-xsl-fo@w3.org > February 2001

Last Page Conundrum

From: Arved Sandstrom <asandstrom@accesscable.net>
Date: Mon, 12 Feb 2001 06:37:10 -0400
Message-ID: <003001c094df$c1f2b320$089e4718@accesscable.net>
To: <www-xsl-fo@w3.org>
I probably need a vacation, but this occurred to me a couple of days ago, and I'm wondering what the consensus is. :-)

Take a typical page-sequence-master (PSM) with a repeatable-page-master-alternatives. Key feature here is that one condition is for page-position='last'. FOP doesn't do page-position='last' yet, I might add (it's the only pagination thing we don't, I believe), FWIW.

Assume that we generate all pages, 1..n, with no use of the page-master for the last page. That is, how can one use the PM for the last page until you've done the first pass to figure out what the last page is? Having done that, we backtrack to the content start for the last page, and re-format using the last-page PM. But _this_ PM does not allow all _that_ remaining content into a last page, and therefore forces another.

Or does it? For surely you see where this is heading. :-) Because you now have to re-apply the page-position='rest" PM, because the page is no longer the last page...when will it stop?

I haven't actually worked up a decent solution for this one. I don't find any particularly useful guidance in the spec. Any thoughts?

Regards,
Arved Sandstrom
Received on Monday, 12 February 2001 05:42:32 GMT

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