xsl-list
[Top] [All Lists]

Re: [xsl] Getting page numbers to increase only on odd pages

2012-01-05 14:48:19
At 2012-01-05 12:50 -0600, Colin DeClue wrote:
I'm trying to show a page count, but only on the odd pages, and have
it only count the odd pages. So, the first page would be 1, third page
would be 2, 5th page would be 3, etc. Is there an easy way to do this?

I cannot think of a way to do this using standard facilities.

Some vendors offer the ability to work with an intermediate format after formatting and before rendering. Perhaps if you doubled the height of the body region when generating your XSL-FO and then manipulate the resulting intermediate pages so that one page of content is split over two pages to be rendered, then you might get what you want.

I hope this helps.

. . . . . . . . . . .  Ken

--
Contact us for world-wide XML consulting and instructor-led training
Free 5-hour video lecture: XSLT/XPath 1.0 & 2.0 http://ude.my/uoui9h
Crane Softwrights Ltd.            http://www.CraneSoftwrights.com/s/
G. Ken Holman                   mailto:gkholman(_at_)CraneSoftwrights(_dot_)com
Google+ profile: https://plus.google.com/116832879756988317389/about
Legal business disclaimers:    http://www.CraneSoftwrights.com/legal


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>