ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: David Arnold <dwarnold45@cox.net>
Cc: Jacob Prystowsky <jmprystowsky@cox.net>,
	Bruce Wagner <bruce-wagner@redwoods.edu>
Subject: No page break
Date: Mon, 31 Jul 2006 00:38:53 -0700	[thread overview]
Message-ID: <BB1AED4E-2CA2-4D03-B913-CE972F1830FB@cox.net> (raw)

All,

Anyone know why my Answers and Exercises don't break to a new page?

\setupwhitespace[medium]

\setupindenting[medium,yes]

\usemodule[colors]
\setupcolors[state=start]

\definecolor[gridlines][s=0.7]

\definecolor[exercolor][r=0.0,g=0.3,b=0.7]

\definecolor[oceanfoam][b=1,g=0.75,t=0.12,a=1]
\definecolor[tingedblue][g=0.25,b=0.9,t=0.125,a=1]
\definecolor[icicle][c=0.4,y=0.1,t=0.125,a=1]
\definecolor[middlegreen][c=0.5,y=0.5,t=0.5,a=1]
\definecolor[heavygreen][g=0.35,b=0.15]
\definecolor[heavyblue][g=0.15,b=0.35]
\definecolor[lightred][r=0.7,t=0.15,a=1]
\definecolor[lavender][r=0.25,b=0.75,t=0.095,a=1]
\definecolor[darklavender][r=0.25,b=0.75]
\definecolor[lightgreen][r=0.86,g=0.99,b=0.77,t=0.75,a=1]

\definehead
	[exercises,answers]
	[subsection]

\setupheads
	[alternative=inmargin,
	prefix=+]

\setuphead
	[chapter,section]
	[style=bold,
	color=heavygreen,
	before=\blank,
	after=\blank]

\setuphead
	[chapter]
	[align={right,nothyphenated,broad},
	style=\tfd]

\setuphead
	[section]
	[prefix=+,
	style=\tfc]

\setuphead
	[subsection]
	[style={\tfb\sl},
	before=\blank,
	after=\blank,
	color=heavyblue,
	number=no,
	incrementnumber=yes]

\def\ExerciseHead{\headnumber[section]}

\setuphead
	[exercises]
	[incrementnumber=no,
	page=right,
	command=\ExerciseHead,
	after=\hairline\blank]

\def\AnswerHead{\headnumber[section]}

\setuphead
	[answers]
	[incrementnumber=no,
	page=right,
	command=\AnswerHead,
	after=\hairline\blank]

\starttext

\chapter{Hello}

\dorecurse{5}{\input tufte\par}

\section{One}

\dorecurse{5}{\input tufte\par}

\section{two}

\dorecurse{5}{\input tufte\par}

\exercises{Exercises}

\dorecurse{5}{\input tufte\par}

\exercises{Asnwers}

\dorecurse{5}{\input tufte\par}

\stoptext

             reply	other threads:[~2006-07-31  7:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-31  7:38 David Arnold [this message]
2006-07-31  9:10 ` Taco Hoekwater

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=BB1AED4E-2CA2-4D03-B913-CE972F1830FB@cox.net \
    --to=dwarnold45@cox.net \
    --cc=bruce-wagner@redwoods.edu \
    --cc=jmprystowsky@cox.net \
    --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).