![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
2007/7/2, Peter I. Hansen
On 7/2/07, Wolfgang Schuster
wrote: 2007/7/2, Peter I. Hansen
: Thanks, this works for me. One thing though, I would like to turn the framing off on pages where a chapter begins. I tried \setuphead[chapter][header=empty], but this just gives me an empty frame. Is there a way to selectively turn of backgounds on for example chapter pages?
\setuphead [chapter]
[%before={\blank[force,\dimexpr\headerheight+\headerdistance\relax]},
header=high]
\setupbackgrounds[header][text][frame=on]
\starttext
\dorecurse{4} {\chapter{Knuth} \dorecurse{12} {\input knuth\par}}
\stoptext
Beautifull. One problem arise, if you put a \placecontent after \starttext the first chapter will stil have the frame on.
do you mean \starttext \placecontent \chapter{Knuth} \stoptext I see only a frame on the first page with the table of contents and this normal because there is no chapter on this page. use \completecontent and not \placecontent if this is not what you mean send a example Wolfgang