[xep-support] double page numbering

G. Ken Holman gkholman at CraneSoftwrights.com
Tue Mar 7 10:40:18 PST 2006


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 at 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 at 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



More information about the Xep-support mailing list