From: Emanuele Sacco <emanuelesacco@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: empty page before chapter and part
Date: Sat, 11 Dec 2010 17:58:58 +0100 [thread overview]
Message-ID: <AANLkTin8=SA2xB_Ey_nTRC7x8+sN6UBvj1-Fbw6+nuci@mail.gmail.com> (raw)
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
___________________________________________________________________________________
next reply other threads:[~2010-12-11 16:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-11 16:58 Emanuele Sacco [this message]
2010-12-11 17:01 ` Emanuele Sacco
2010-12-11 17:50 ` Wolfgang Schuster
2010-12-12 9:29 ` Emanuele Sacco
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTin8=SA2xB_Ey_nTRC7x8+sN6UBvj1-Fbw6+nuci@mail.gmail.com' \
--to=emanuelesacco@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).