Am 11.12.2010 um 17:58 schrieb Emanuele Sacco:

> Hi all.
> With the following code  the second and eighth pages of the document
> are not empty as it would like.
> Thanks in advance
> 
> ----------------------------------------------------------------------------------------
> 
> \setuppapersize[A4][A4]
> 
> \setuplayout
> [location=doublesided,
> header=5mm,
> headerdistance=15mm,
> footerdistance=0mm,
> textwidth=14cm]
> \setuppagenumbering
> [alternative=doublesided,
> location=marginedge,
> way=bytext,
> partnumber=no]
> 
> 
> \setupheadertexts[][part][chapter][]

You can replace this block

> \setupbackgrounds[state=repeat]
> \setupbackgrounds[header][text][background=whatever]
> \defineoverlay[whatever][{\framed[width=\overlaywidth,height=\overlayheight,frame=off,bottomframe=on]{}}]
> \couplepage[chapter][before={\defineoverlay[whatever][]}]
> \setuphead[chapter][before={\pagetype[chapter]}]

with

\setupheader[text][after=\hrule] % \thinrule

Now you can suppress the line on an empty page before the chapter start with

\setuphead
  [chapter]
  [page={yes,header,right}]

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to