ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Johannes Hüsing" <hannes@ruhrau.de>
Subject: Re: How to: get TeX to warn me when it breaks a chunk of text over pages.
Date: Fri, 8 Mar 2002 13:41:36 +0100	[thread overview]
Message-ID: <20020308134136.C727@ruhrau.de> (raw)
In-Reply-To: <87u1rr1g4w.fsf@inanna.rimspace.net>

On Fri, Mar 08, 2002 at 09:57:19PM +1100, Daniel Pittman wrote:
> As part of writing the recipe book that I am working on I want to
> achieve something a bit non-standard in terms of TeX page breaking.
> 

Not that it's non-standard ... within TeX you can set the \penalty in 
vertical mode to a large negative value between two recipes.

[...]
> 
> I would rather have (and have to fill) whitespace on the page than a
> page break in the middle of a recipe.
> 

In ConTeXt encouraging pagebreks is done with

\page[bigpreference] 

and it is better to encourage pagebreaks than to discourage them elsewhere. 

To my mind the bigpreference is sometimes not big enough. I once typeset 
a final exam with multiple choice questions. I did not manage to suppress
all page breaks within questions.

Greetings

Johannes
-- 
Johannes Hüsing   There is something fascinating about science. One gets
hannes@ruhrau.de  such wholesale returns of conjecture from such a 
                  trifling investment of fact.                Mark Twain


  reply	other threads:[~2002-03-08 12:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-08 10:57 How to: get TeX to warn me when it breaks a chunk of text overpages Daniel Pittman
2002-03-08 12:41 ` Johannes Hüsing [this message]
2002-03-08 14:04 ` How to: get TeX to warn me when it breaks a chunk of text over pages John Culleton
2002-03-08 22:23   ` How to: get TeX to warn me when it breaks a chunk of text overpages Daniel Pittman
2002-03-10  0:51     ` How to: get TeX to warn me when it breaks a chunk of text over pages Bruce Horrocks
2002-03-10  2:18       ` How to: get TeX to warn me when it breaks a chunk of text overpages Daniel Pittman

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=20020308134136.C727@ruhrau.de \
    --to=hannes@ruhrau.de \
    --cc=johannes.huesing@ruhrau.de \
    /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).