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][]
\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]}]
\setuphead[part]
[placehead=yes,
before={\pagetype[chapter]\startstandardmakeup[align={middle,lohi}]\switchtobodyfont[20pt]},
after=\stopstandardmakeup,
align=middle,
prefix=no,
resetnumber=no]
\setuphead[chapter]
[header=empty]
\starttext
\completecontent
\part{Parte}
\chapter{Capitolo}
\section{Sezione}
\input knuth
\subsection{Sottosezione}
\input knuth
\input tufte
\section{Altra sezione}
\input knuth
\input tufte
\input knuth
\input tufte
\input knuth
\input tufte
\chapter{Altro Capitolo}
\input knuth
\input tufte
\input knuth
\input tufte
\input knuth
\input tufte
\input tufte
\input knuth
\input tufte
\input knuth
\input tufte
\stoptext
----------------------------------------------------------------------------------------
Emanulele
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / 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
___________________________________________________________________________________