xsl-list
[Top] [All Lists]

Re: [xsl] XSL-FO: Exclude page numbering on some pages

2006-05-04 09:41:11
Hi Ken,

Thanks for the quick response.  So basically I should:

1) Create a new simple page master for the revision pages
        <fo:simple-page-master 
master-name="RevPage"></fo:simple-page-master>

2) Create a new page master sequence:
        <fo:page-sequence-master master-name="RevIndex">
                <fo:single-page-master-reference 
master-reference="RevPage">
                </fo:single-page-master-reference>
        </for:page-master-sequence-master>
3) Create a new fo:page-sequence for the RevIndex

Let me know if I am on the right track or not.

Nadia 




"G. Ken Holman" <gkholman(_at_)CraneSoftwrights(_dot_)com>
2006-05-04 12:08
Please respond to xsl-list

 
        To:     xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
        cc: 
        Subject:        Re: [xsl] XSL-FO: Exclude page numbering on some pages


At 2006-05-04 11:53 -0400, Nadia(_dot_)Swaby(_at_)pwc(_dot_)ca wrote:
I have an stylesheet that generates and FO document.  Currently, my page
sequence master looks like this:

<fo:page-sequence-master master-name="Contents">
        <fo:repeatable-page-master-alternatives>
                <fo:conditional-page-master-reference
master-reference="Cover" page-position="first"/>
                <fo:conditional-page-master-reference
master-reference="Other" odd-or-even="any"/>
        </fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>

The documents being rendered (to PDF using AntennaHouse) have the main
body and a revision index at the end.  The revision index sometimes is
more than a page in length.  Usually (in the Framemaker world), the
revision index has no page numbering, or is numbered on it's own.  Is
there a way to implement this in XSL-FO?

Yes, create a new page-sequence-master with your required pagination
properties for it and use it for your revision index.  In this new
page-sequence-master, use perimeter regions without page numbers.

One is not obliged to use the same page-sequence-master for the
entire document ... just create as many page-sequence elements as you
need to use page-sequence-masters.  Each one starts a new page.

I hope this helps.

.. . . . . . . . Ken

--
Registration open for XSLT/XSL-FO training: Wash.,DC 2006-06-12/16
Also for XSLT/XSL-FO training:    Minneapolis, MN 2006-07-31/08-04
Also for XML/XSLT/XSL-FO training:Birmingham,England 2006-05-22/25
Also for XSLT/XSL-FO training:    Copenhagen,Denmark 2006-05-08/11
World-wide on-site corporate, govt. & user group XML/XSL training.
G. Ken Holman                 mailto:gkholman(_at_)CraneSoftwrights(_dot_)com
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
Male Cancer Awareness Aug'05  http://www.CraneSoftwrights.com/s/bc
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>
--~--




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