From: Emanuele Sacco <emanuelesacco@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: empty page before chapter and part
Date: Sun, 12 Dec 2010 10:29:35 +0100 [thread overview]
Message-ID: <AANLkTi=cE1s+YR-Zqz+M_bA13kqTRChsQH=nTLe=TMvf@mail.gmail.com> (raw)
In-Reply-To: <C42B619C-332E-4FF0-A707-C09AEC106F3C@gmail.com>
Thanks, works perfectly.
ES
2010/12/11 Wolfgang Schuster <schuster.wolfgang@googlemail.com>:
>
> 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
> ___________________________________________________________________________________
>
--
Al mondo ci sono 10 tipi di persone: quelli che conoscono il sistema
binario e quelli che non lo conoscono.
___________________________________________________________________________________
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
___________________________________________________________________________________
prev parent reply other threads:[~2010-12-12 9:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-11 16:58 Emanuele Sacco
2010-12-11 17:01 ` Emanuele Sacco
2010-12-11 17:50 ` Wolfgang Schuster
2010-12-12 9:29 ` Emanuele Sacco [this message]
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='AANLkTi=cE1s+YR-Zqz+M_bA13kqTRChsQH=nTLe=TMvf@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).