Re: Suspending page numbering

At 2002-11-12 15:49 -0500, Gupta, Deepak wrote:
>Is it possible to suspend the <fo:page-number> counter for certain pages 
>in a document, so that in a sequence of pages numbered 1-N, there can be 
>some (section title) pages that do not have a page number ?

Do you mean "do not show the page number" or "the page is not included in 
the steadily increasing page number"?

The former is easy, just use a page master that doesn't reference static 
content that includes a page number.

The latter is not possible unless you know the page numbers at all the 
breaks.  If you do know this information, each time you create a page 
sequence you can specify the starting page number in that sequence.  There 
is no way in XSL-FO 1.0 to instruct the formatter to suspend the counting 
of a page for a given page but otherwise continue steadily increasing the 
page number.

>Does the force-page-count="no-force" property provide this functionality ?

No ... that is only to detect a page generated by the formatter instead of 
triggered by paginated content.

I hope this helps.

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


--
Upcoming hands-on in-depth XSLT/XPath and/or XSL-FO:
-                             North America:  Feb 3 - Feb 7,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-10-1             Practical Formatting Using XSL-FO
Next conference training:                    2002-12-08,03-03,06

Received on Wednesday, 13 November 2002 12:51:06 UTC