ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Philipp Stephani <st_philipp@yahoo.de>
To: ntg-context@ntg.nl
Subject: Re: No widows and orphans
Date: Tue, 1 Mar 2011 17:06:14 +0100	[thread overview]
Message-ID: <349AD4A4-4D88-432C-92E1-E5DB69279A50@yahoo.de> (raw)
In-Reply-To: <mailman.1156.1298991796.4223.ntg-context@ntg.nl>

Am 01.03.2011 um 16:03 schrieb ntg-context-request@ntg.nl:

> Von: Cecil Westerhof <cldwesterhof@gmail.com>
> Datum: 1. März 2011 15:56:03 MEZ
> An: mailing list for ConTeXt users <ntg-context@ntg.nl>
> Betreff: Re: [NTG-context] No widows and orphans
> Antwort an: mailing list for ConTeXt users <ntg-context@ntg.nl>
> 
> 
> 2011/3/1 Thomas A. Schmitz <thomas.schmitz@uni-bonn.de>
> 
> On Mar 1, 2011, at 3:41 PM, Cecil Westerhof wrote:
> 
> > I do not want to have widows and orphans. Because of this I use:
> > \clubpenalty=10000
> > \widowpenalty=10000
> >
> > But this has no effect. Still the last two lines of a paragraph are put on the next page instead of the complete paragraph.
> 
> I think you are confusing things here: orphans and widows refer to single lines on the following/preceding page. So if you get two lines, you get exactly what you ask for. If I understand you correctly, you do not want to break paragraphs vertically at all?
> 
> Okay, I did not understand the terminology correctly.
> 
> Yes, in this particular case I would like not to break them.

I don't know whether that still works in ConTeXt, but try
\interlinepenalty=10000

> What would also be acceptable is when there are at least five lines on the page.

Try this (again untested):
\clubpenalties 5 10000 10000 10000 10000 10000
\widowpenalties 5 10000 10000 10000 10000 10000
___________________________________________________________________________________
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
___________________________________________________________________________________


       reply	other threads:[~2011-03-01 16:06 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1156.1298991796.4223.ntg-context@ntg.nl>
2011-03-01 16:06 ` Philipp Stephani [this message]
2011-03-01 16:14   ` Cecil Westerhof
2011-03-01 16:17   ` Wolfgang Schuster
2011-03-01 17:05     ` Cecil Westerhof
2011-03-01 17:21       ` Wolfgang Schuster
2011-03-01 18:06         ` Cecil Westerhof
2011-03-01 19:19           ` Wolfgang Schuster
2011-03-01 19:31             ` Cecil Westerhof
2011-03-01 19:53               ` Wolfgang Schuster
2011-03-01 21:10                 ` Cecil Westerhof
2011-03-01 14:41 Cecil Westerhof
2011-03-01 14:50 ` Thomas A. Schmitz
2011-03-01 14:56   ` Cecil Westerhof
2011-03-01 14:58     ` luigi scarso

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=349AD4A4-4D88-432C-92E1-E5DB69279A50@yahoo.de \
    --to=st_philipp@yahoo.de \
    --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).