From: Wolfgang Schuster <wolfgang.schuster@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: [***SPAM***] Widows: penalty without efffect (ConTeXt iv)
Date: Thu, 9 Aug 2012 14:26:03 +0200 [thread overview]
Message-ID: <D5112EBC-71F8-4AF2-9BF5-50D274B60342@gmail.com> (raw)
In-Reply-To: <50238498.5010408@ymail.com>
Am 09.08.2012 um 11:36 schrieb d_jan <d_jan@ymail.com>:
> Dear List,
>
> I ran into trouble with the widow/orphan-control in context.
> I searched the mailinglist, and saw that there were some other threads on the topic bevore, but as far as I am concerned what was suggested there did not work for me when I tried it.
>
> I run context iv using the version which comes with TexLive 2011.
>
> First trail was to include \widowpenalty=9000 and \clubpenalty=9000 at the start of the document, before \starttext (cause I do my setups, and definitions there)
> As this did not work I tried to put them after \starttext. As well I lowered \brokenpenalty. But both approaches, which were suggested in previous Posts on the ntg-context list failed to show an effect in my case.
>
> Is there anything I could do to prevent the widow lines?
You can change the default penalties with \setuplayout[setups=…], the default setting is \setuplayout[setups=*default] but you can change this to “setups=*strict” which should help. It’s also possible to create your own penalties setup, e.g.
\startsetups mypenalties
\widowpenalty = 9000
\clubpenalty = 9000
\stopsetups
\setuplayout[setups=mypenalties]
\starttext
…
\stoptext
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________
prev parent reply other threads:[~2012-08-09 12:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-09 9:36 d_jan
2012-08-09 12:25 ` Stefan Müller
2012-08-09 18:36 ` d_jan
2012-08-09 12:26 ` Wolfgang Schuster [this message]
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=D5112EBC-71F8-4AF2-9BF5-50D274B60342@gmail.com \
--to=wolfgang.schuster@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).