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:
And this to shape all the different headers and footers of this section:
I'm doing something wrong since rev6, but can you tell me what it is?
Cheers,
Rogier
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