Re: Complex Page Numbering

I had the same kind of problem. Of course xsl-fo can do it quite easily:
You need to have one simple-page-master for the first page and one for 
the rest of the chapter.Like:

<fo:simple-page-master master-name="first"
    page-height="185mm"
    page-width="120mm"
    margin-left="20mm"
    margin-right="20mm"
    >
    <fo:region-body  extent="135mm" margin-bottom="20mm" margin-top="20mm"/>

</fo:simple-page-master>


<fo:simple-page-master master-name="rest"
    page-height="185mm"
    page-width="120mm"
    margin-left="20mm"
    margin-right="20mm"
    >
    <fo:region-body  extent="135mm" margin-bottom="20mm" margin-top="20mm"/>
    <fo:region-after extent="20mm"  />
</fo:simple-page-master>

and then you'll have as page sequence master something like

<fo:page-sequence-master master-name="sequence-texte">
    <fo:repeatable-page-master-alternatives>
    <fo:conditional-page-master-reference page-position="first" 
master-reference="first"/>
    <fo:conditional-page-master-reference page-position="rest"  
master-reference="rest"/>
    </fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>

I hope this will help.

Gupta, Deepak wrote:

>  
>
> I need to generate a document with the following structure :-
>
>  
>
>  
>
> Title page 1 - no page number
>
> Section 1    - page numbers = 1 ... N1
>
> Title page 2 - no page number
>
> Section 2    - page numbers = N1+1 ....N2
>
> Title page 3 - no page number
>
> Section 3    - page numbers = 1 ....N3
>
>  
>
>  
>
> i.e. You can think of pages 1...N2 of Sections 1 & 2 as being numbered 
> consecutively, if you ignore  Title page 2.
>
>  
>
> Can I do this in XSL-FO & if so how ?
>
>  
>
> thanks,
>
>  
>
> Deepak 
>

Received on Thursday, 7 November 2002 04:51:03 UTC