Re: [xep-support] double page numbering

From: G. Ken Holman <gkholman@CraneSoftwrights.com>
Date: Tue Mar 07 2006 - 10:40:18 PST

XSL-FO provides for only a single running page number.

At 2006-03-07 18:51 +0100, Tomas Kolaci wrote:
> I'm publishing document that consists of chapters (each chapter
> starts on new page). In header of each page I have to print both:
>
>1. [actual page number] of [number of pages] in scope of
>actual chapter and
>2. [actual page number] of [number of pages] in global scope
>of whole document.
>...
> in header of 4th page I have to print: chapter 2 page: 1 of 2,
> document page: 4 of 10.
>
> I don't know how to achieve this
>...
>- if there was some way how to do some simple mathematics
>with page numbers before rendering

Page numbers are not operands in XSL-FO arithmetic.

> but I haven't found anything like that. Is there some way?

Not in the XSL-FO specification.

I hope this helps (though I realize it isn't what you were looking for).

. . . . . . . . Ken

--
Upcoming XSLT/XSL-FO hands-on courses: Washington,DC 2006-03-13/17
World-wide on-site corporate, govt. & user group XML/XSL training.
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)
Male Cancer Awareness Aug'05  http://www.CraneSoftwrights.com/f/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Tue Mar 7 11:09:33 2006

This archive was generated by hypermail 2.1.8 : Tue Mar 07 2006 - 11:09:34 PST