ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Cecil Westerhof <cldwesterhof@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: No widows and orphans
Date: Tue, 1 Mar 2011 18:05:41 +0100	[thread overview]
Message-ID: <AANLkTim18zRGjUKRa4SW5YnCXDjgFYEyW90On-tp_O42@mail.gmail.com> (raw)
In-Reply-To: <F4EB5B12-5989-40AF-BD34-8C991ACC6C01@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 610 bytes --]

2011/3/1 Wolfgang Schuster <schuster.wolfgang@googlemail.com>

>
> Am 01.03.2011 um 17:06 schrieb Philipp Stephani:
>
> > I don't know whether that still works in ConTeXt, but try
> > \interlinepenalty=10000
>
> It works but it’s to low level.
>
> There is also \interlinepenalties and ConTeXts \keeplinestogether (which
> use it) command but it doesn’t work
>
> \starttext
>
> \dorecurse{4}{\input tufte\par}
>
> \keeplinestogether{10}
> \input tufte\par
>
> \stoptext
>

If you add before starttext \interlinepenalty=10000 it works. But alas, not
in my case.

-- 
Cecil Westerhof

[-- Attachment #1.2: Type: text/html, Size: 955 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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 17:05 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
2011-03-01 16:14   ` Cecil Westerhof
2011-03-01 16:17   ` Wolfgang Schuster
2011-03-01 17:05     ` Cecil Westerhof [this message]
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=AANLkTim18zRGjUKRa4SW5YnCXDjgFYEyW90On-tp_O42@mail.gmail.com \
    --to=cldwesterhof@gmail.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).