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

"G. Ken Holman" <[email protected]>
Newsgroups gmane.org.w3c.xsl-editors
Message-ID <5.2.0.9.0.20030722104956.037e4d70@junk>
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: [email protected]
>From: "G. Ken Holman" <[email protected]>
>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:[email protected]
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.