Hi,
after reading the appropriate threads in the forum, I thought I had figured out how to avoid putting content into the header on chapter start pages.
I generate my pdf file from an html file (generated with docutils). A reduced test case of my css file looks like this:
I still get page headings on the first page of a chapter/h1. What am I doing wrong?
Test files available at http://www.mausdompteur.de/prince-sandbox ; aptly named test.html, test.css and test.pdf. Output generated with 'prince -s test.css -o test.pdf test.html' with prince 6.0rev6 on either Mac OS X Leopard or Ubuntu Hardy/amd64.[/code]
after reading the appropriate threads in the forum, I thought I had figured out how to avoid putting content into the header on chapter start pages.
I generate my pdf file from an html file (generated with docutils). A reduced test case of my css file looks like this:
@page {
size: a5 ;
margin: 2cm 1.5cm 2.5cm ;
@top-center {
content: string(heading, first);
font-style: italic ;
}
}
@page chapter{
@top-center {
content: none ;
}
}
h1 {
text-align: center ;
string-set: heading content() ;
page-break-before: right ;
page: chapter auto ;
}
I still get page headings on the first page of a chapter/h1. What am I doing wrong?
Test files available at http://www.mausdompteur.de/prince-sandbox ; aptly named test.html, test.css and test.pdf. Output generated with 'prince -s test.css -o test.pdf test.html' with prince 6.0rev6 on either Mac OS X Leopard or Ubuntu Hardy/amd64.[/code]