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

Re: page break

From: John E. Simpson <simpson@polaris.net>
Date: Tue, 26 Jun 2001 08:29:45 -0400
Message-ID: <3B388039.4070605@polaris.net>
To: www-xsl-fo@w3.org
Arved Sandstrom wrote:

> ----- Original Message -----
> From: "Dave Pawson" <daveP@dpawson.freeserve.co.uk>
>> ... Or a system variable named total-pages, set by
>> the implementation, and available to the stylesheet author.
> I have to admit that I like the last suggestion. Perhaps it should key off
> fo:page-sequence, since it is at this level that the problem manifests?
> "total-pages" would be available then as the corresponding value for the
> last page sequence.

I thought of an XSL-FO function to do it rather than a system variable, 
but I like this idea too.

Not to cloud the waters further, but it might be further useful if the 
function/variable provided a count per given SECTION. This might be the 
total # of pages in the document (if it were all one "section"), but 
could also be used for numbering pages a la 1.2, 1.3, etc.
John E. Simpson          | "I just got out of the hospital. I was in a
http://www.flixml.org    | speed reading accident. I hit a bookmark and
XML Q&A: www.xml.com     | flew across the room." (Steven Wright)
Received on Tuesday, 26 June 2001 08:29:21 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:58:25 UTC