From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \definepagebreak[header, footer] not working when changing matters
Date: Sat, 24 Mar 2012 11:39:41 +0100 [thread overview]
Message-ID: <24883473-0B20-45D6-9339-630C6B3036C4@googlemail.com> (raw)
In-Reply-To: <4F6D8BB2.2020601@web.de>
Am 24.03.2012 um 09:54 schrieb Pablo Rodríguez:
> I have discovered that \definepagebreak[header,footer] doesn't right
> with chapters when changing from frontmatter to bodymatter (and similar
> divisions).
>
> Here you have a sample:
>
> \definepagebreak[firstpagebreak][yes,header,footer,right]
> \setuphead[chapter][page=firstpagebreak]
> \setuppagenumbering[alternative=doublesided,location={botton}]
> \starttext
> \startfrontmatter
> \dorecurse{4}{\chapter{front}}
> \stopfrontmatter
> \startbodymatter
> \dorecurse{4}{\chapter{body}}
> \stopbodymatter
> \startappendices
> \dorecurse{4}{\chapter{body}}
> \stopappendices
> \startbackmatter
> \dorecurse{4}{\chapter{body}}
> \stopbackmatter
> \stoptext
>
> Pages previous to chapters with no text should also lack header and
> footer, but in the example above this doesn't work when text divisions
> (such as front matter, body matter, appendices and back matter) change.
Section blocks do have a page key which is used ti switch to a right page at
the begin/end of the environment and this happens before the chapter
page break happens. You have to disable the page breaks for the section block
to have the right header/footer on empty pages.
\setupsectionblock[frontpart][page=]
\setupsectionblock[bodypart] [page=]
\setupsectionblock[backpart] [page=]
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
___________________________________________________________________________________
next prev parent reply other threads:[~2012-03-24 10:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-24 8:54 Pablo Rodríguez
2012-03-24 10:39 ` Wolfgang Schuster [this message]
2012-03-25 15:28 ` Pablo Rodríguez
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=24883473-0B20-45D6-9339-630C6B3036C4@googlemail.com \
--to=schuster.wolfgang@googlemail.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).