From: luigi scarso <luigi.scarso@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: No header and no page-number on empty pages
Date: Thu, 29 Nov 2012 15:48:26 +0100 [thread overview]
Message-ID: <CAG5iGsCytwwub+YW1FNwY4gZj-Ef+ac6+6R2gBhcaeXH918UTA@mail.gmail.com> (raw)
In-Reply-To: <50B771F8.6000600@mmnetz.de>
On Thu, Nov 29, 2012 at 3:32 PM, "H. Özoguz" <h.oezoguz@mmnetz.de> wrote:
> Hi there,
>
> there are some possibilities for getting empty pages in a book, f.e. if a
> new chapter begins (and by settings it may only begin on pages with odd
> pagenumber).
>
> In these cases I want the page-number and the headers to disappear on the
> empty page, it should be totally empty, if no text is in it. How to achieve
> that?
>
> Thanks
> Huseyin
from http://wiki.contextgarden.net/Titles
\definepagebreak
[mychapterpagebreak]
% [yes,header,right]
%[yes,header,left]
[yes,header,footer,right]
\setuphead
[chapter]
[page=mychapterpagebreak]
%[page=Mychapterpagebreak,header=empty,footer=empty]
%\setupsectionblock[frontpart][page=chapter]
%\setupsectionblock[bodypart][page=chapter]
%\setupsectionblock[backpart][page=chapter]
%\setupsectionblock[appendix][page=chapter]
\setuppagenumbering[alternative=doublesided,location={header,margin}]
\setupheadertexts[{My special headertext}]
\setupfootertexts[This is a text in the footer]
%\setupbackgrounds[header][text][bottomframe=on]
\starttext
\chapter{testA} \dorecurse{10}{\input tufte }
\chapter{testB} \dorecurse{10}{\input tufte }
\chapter{testC} \dorecurse{10}{\input tufte }
\stoptext
test-003.tex (END)
--
luigi
___________________________________________________________________________________
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 prev parent reply other threads:[~2012-11-29 14:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-29 14:32 "H. Özoguz"
2012-11-29 14:48 ` luigi scarso [this message]
2012-11-29 14:51 ` Wolfgang Schuster
[not found] <mailman.3.1354212569.2096.ntg-context@ntg.nl>
2012-11-30 8:05 ` "H. Özoguz"
2012-11-30 8:44 ` luigi scarso
2012-11-30 13:48 ` Wolfgang Schuster
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=CAG5iGsCytwwub+YW1FNwY4gZj-Ef+ac6+6R2gBhcaeXH918UTA@mail.gmail.com \
--to=luigi.scarso@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).