You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Mark Baier <mb...@solyp.de> on 2003/03/21 11:49:49 UTC

initial-page-number; several page-sequences

Hello all,

i'm producing two page-sequences, one for the table of contents and one
for the main report.
The toc page-sequence should be numbered by roman numbers like I, II and so on.
<fo:page-sequence master-reference="content" language="{$language}" format="I">

The main report page-sequence should be numbered by numbers like 1, 2, 3 and so on.
<fo:page-sequence master-reference="content" language="{$language}" format="1" initial-page-number="1">


The problem now is that the toc page sequence always produces an empty second page which
is not very useful ;-)

This is my layout-master-set 

<fo:layout-master-set>
	<fo:simple-page-master xsl:use-attribute-sets="page-dimension-a4" master-name="A4">
		<fo:region-before xsl:use-attribute-sets="region-before-extent"/>
		<fo:region-body xsl:use-attribute-sets="region-body-vertical-margin"/>
		<fo:region-after xsl:use-attribute-sets="region-after-extent"/>
		<fo:region-start/>
		<fo:region-end/>
	</fo:simple-page-master>
		
	<fo:page-sequence-master master-name="content">
		<fo:repeatable-page-master-reference master-reference="A4"/>
	</fo:page-sequence-master>
</fo:layout-master-set>

Any help will be appreciated,

thx in advance,

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: initial-page-number; several page-sequences

Posted by Jeremias Maerki <de...@greenmail.ch>.
FAQ:
http://xml.apache.org/fop/faq.html#blank_page_between_page_sequences

On 21.03.2003 11:49:49 Mark Baier wrote:
> i'm producing two page-sequences, one for the table of contents and one
> for the main report.
> The toc page-sequence should be numbered by roman numbers like I, II and so on.
> <fo:page-sequence master-reference="content" language="{$language}" format="I">
> 
> The main report page-sequence should be numbered by numbers like 1, 2, 3 and so on.
> <fo:page-sequence master-reference="content" language="{$language}" format="1" initial-page-number="1">
> 
> 
> The problem now is that the toc page sequence always produces an empty second page which
> is not very useful ;-)


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org