ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* empty page before chapter and part
@ 2010-12-11 16:58 Emanuele Sacco
  2010-12-11 17:01 ` Emanuele Sacco
  2010-12-11 17:50 ` Wolfgang Schuster
  0 siblings, 2 replies; 4+ messages in thread
From: Emanuele Sacco @ 2010-12-11 16:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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 : 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-12-12  9:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-11 16:58 empty page before chapter and part Emanuele Sacco
2010-12-11 17:01 ` Emanuele Sacco
2010-12-11 17:50 ` Wolfgang Schuster
2010-12-12  9:29   ` Emanuele Sacco

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).