From: "Bart C. Wise" <bntgcontext@wiseguysweb.com>
To: Context Mailing List <ntg-context@ntg.nl>
Subject: definepagebreak: problem at the end of front, body & backmatter
Date: Tue, 2 Dec 2008 07:43:26 -0700 [thread overview]
Message-ID: <200812020743.26522.bntgcontext@wiseguysweb.com> (raw)
In the sample code below, I defined the document to be doublesided and that
chapters should open on the right. If the chapter ends on an odd page, I want
to leave the even page completely blank (no headers, footers, page numbers,
etc.). The code below works except for the last chapter in the frontmatter,
bodymatter, and backmatter. For the last chapter in those divisions, the page
is not blank, but has the header & footers. How do I get definepagebreak to
work at the end of a division?
\setupheadertexts[][chapter][Deluxe Header][]
\definepagebreak
[ChapterPageBreak]
[yes,header,footer,right] % works! except for last page in a division
\setuphead[chapter][
header=empty,
footer=empty,
number=yes,
page=ChapterPageBreak,
]
\setuplayout[location=doublesided]
\setuppagenumbering[
location={footer,middle},
alternative=doublesided,
option=doublesided,
style=\em\tfx,
way=bytext,
]
\starttext
\startfrontmatter
\completecontent
\chapter {Introduction} \dorecurse{10}{\input tufte }
\chapter {Second Introduction} \dorecurse{10}{\input tufte }
\stopfrontmatter
\startbodymatter
\chapter {First Chapter} \dorecurse{10}{\input tufte }
\chapter {Second Chapter} \dorecurse{9}{\input tufte }
\chapter {Third Chapter} \dorecurse{8}{\input tufte }
\chapter {Fourth Chapter} \dorecurse{10}{\input tufte }
\stopbodymatter
\startbackmatter
\chapter {First Appendix} \dorecurse{10}{\input tufte }
\chapter {Second Appendix} \dorecurse{10}{\input tufte }
\stopbackmatter
\stoptext
Thanks,
Bart
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2008-12-02 14:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-02 14:43 Bart C. Wise [this message]
2008-12-03 7:42 ` Bart C. Wise
2008-12-03 12:11 ` Wolfgang Schuster
2008-12-03 18:43 ` Bart C. Wise
2008-12-03 19:09 ` Wolfgang Schuster
2008-12-03 20:21 ` Bart C. Wise
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=200812020743.26522.bntgcontext@wiseguysweb.com \
--to=bntgcontext@wiseguysweb.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).