W3C home > Mailing lists > Public > xsl-editors@w3.org > July to September 2003

Re: Fwd: Re: [XSL-FO] Re: pagination

From: Paul Grosso <pgrosso@arbortext.com>
Date: Tue, 22 Jul 2003 10:37:14 -0500
Message-Id: <>
To: "G. Ken Holman" <gkholman@CraneSoftwrights.com>, XSL Editors <xsl-editors@w3.org>


As you point out, the parity of the page number is tied
to the parity of the page type itself.  This is what makes
non-participating page numbering difficult and suspect.
Specifically, if a page has no page number, is it even
or odd and what do you do with a page-number-citation
to it?


At 10:50 2003 07 22 -0400, G. Ken Holman wrote:

>Hi folks!
>Herewith please find a requirement for including pages in the output of an XSL formatter that do not participate in page numbering.
>I hope this helps with your new requirements.
>................... Ken
>>To: XSL-FO@yahoogroups.com
>>From: "G. Ken Holman" <gkholman@CraneSoftwrights.com>
>>Subject: Re: [XSL-FO] Re: pagination
>>At 2003-07-22 14:31 +0000, martin_hofacker wrote:
>>>I want to control the pagination indication of 2nd and further pages.
>>>It should display the page-number of the page-sequence minus 1 (1st
>>>page 'no entry'; 2nd page 'continuation 1'; 3rd page 'continuation
>>>2'; and so on). I donīt know when the first page break will happen.
>>>The first page contains a table with a unknown number of entries (it
>>>depends on the entries in the database). Depending to your answer, i
>>>donīt think that i can solve this problem with the fo:marker.
>>I agree it cannot be solved with fo:marker, nor do I now believe it can be solved with XSL-FO.  I had misunderstood your requirement as I thought might have happened.
>>Interestingly, students in my last class needed something not in XSL-FO that would help here: an indication that a given page geometry not participate in the page numbering scheme.  This would allow them to alternate right-left pages of XSL-FO with the right pages counting 1, 2, 3, ... and the left pages not participating in the incrementing of the page number.  Unfortunately, since the parity of the page is based on the page number and not on the output page tally, this produces a bit of a problem in setting up the page sequence since right/left is accomplished using the parity of the page number, not the parity of the page tally.
>>An additional requirement might be to access the running page number on the left pages from either the page before (1B, 2B, 3B, etc.) or the page after (Info-2, Info-3, etc.) in the static content of the page that does not participate in page numbering.
>>If such a feature were available in a future XSL-FO, then you could set up a page sequence of a simple page master that does not participate in page numbering as the first page, followed by all pages using a simple page master that does participate in page numbering.  Then, you would be showing the formatter-calculated page number at the top of the page but reflecting the true page number of the page before.
>>But ... such a feature is *not* yet available in XSL-FO.  My students were to have already reported such a feature to the XSL working group for consideration, and I do not know if they did so or not.  I will personally forward this message to the XSL editors as further support of the requirement for some mechanism to include pages in the output that do not participate in the page numbering.
>>........................ Ken
>Upcoming hands-on courses: in-house corporate training available;
>North America public:  XSL-FO Aug 4,2003; XSLT/XPath Aug 12, 2003
>G. Ken Holman                mailto:gkholman@CraneSoftwrights.com
>Crane Softwrights Ltd.         http://www.CraneSoftwrights.com/f/
>Box 266, Kars, Ontario CANADA K0A-2E0   +1(613)489-0999 (F:-0995)
>ISBN 0-13-065196-6                      Definitive XSLT and XPath
>ISBN 0-13-140374-5                              Definitive XSL-FO
>ISBN 1-894049-08-X  Practical Transformation Using XSLT and XPath
>ISBN 1-894049-11-X              Practical Formatting Using XSL-FO
>Member of the XML Guild of Practitioners:    http://XMLGuild.info
>Male Breast Cancer Awareness http://www.CraneSoftwrights.com/f/bc
Received on Tuesday, 22 July 2003 11:38:25 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:44:23 UTC