Forum How do I...?

Not recognizing @page:first

rologica
I'm almost done with my first PrinceXML project, and everything worked perfectly. But today I've installed 6 rev 6 and the following problem occurs:

The @page:first is not recognized and printed like it is a regular right page.


I'm using this to name a page:

#module0 #preface .prefaceTopic{
	page: pgPrefaceTopic; 
	page-break-after: right;
}


And this to shape all the different headers and footers of this section:

@page pgPrefaceTopic:first{
	margin-top: 1cm;
	@top-left{content: normal;}
	@top-right{content: normal;}
	@bottom{
		margin-top: 0.5cm;
		content: counter(page, upper-roman);
		text-align: right;
		vertical-align: top;
		font: 12pt Univers, sans-serif;
		border-top: 0.25pt solid black;
	}
}

@page pgPrefaceTopic:left{
	@top-left{
		margin-bottom: 0.5cm;
		content: flow(strCompanyNameA);
		vertical-align: bottom;
		font: 9pt Univers, sans-serif;
		border-bottom: 0.25pt solid black;
	}
	@top-right{
		margin-bottom: 0.5cm;
		content: flow(strChapterTitleB);
		vertical-align: bottom;
		font: 9pt Univers, sans-serif;
		border-bottom: 0.25pt solid black;
	}
	@bottom{
		margin-top: 0.5cm;
		content: counter(page, upper-roman);
		text-align: left;
		vertical-align: top;
		font: 12pt Univers, sans-serif;
		border-top: 0.25pt solid black;
  }
}
@page pgPrefaceTopic:right{
	@top-right{
		margin-bottom: 0.5cm;
		content: flow(strCompanyNameB);
		vertical-align: bottom;
		font: 9pt Univers, sans-serif;
		border-bottom: 0.25pt solid black;
	}
	@top-left{
		margin-bottom: 0.5cm;
		content: flow(strChapterTitleA);
		vertical-align: bottom;
		font: 9pt Univers, sans-serif;
		border-bottom: 0.25pt solid black;
	}
	@bottom{
		margin-top: 0.5cm;
		content: counter(page, upper-roman);
		text-align: right;
		vertical-align: top;
 		font: 12pt Univers, sans-serif;
		border-top: 0.25pt solid black;
 	}
 }
@page pgPrefaceTopic:blank{
	@top-left{content: normal;}
	@top-right{content: normal;}
	@bottom{content: normal;}
}



I'm doing something wrong since rev6, but can you tell me what it is?

Cheers,
Rogier
mikeday
The behaviour of named pages has changed, now they only match the :first page class if you specify "prince-page-group: start" on that element. This allows more complex uses of named page groups.
rologica
Thanks a bunch!

This did the trick.