* Penalties between items?
@ 2001-12-01 23:16 F. Miller Maley
2001-12-03 9:54 ` Hans Hagen
0 siblings, 1 reply; 2+ messages in thread
From: F. Miller Maley @ 2001-12-01 23:16 UTC (permalink / raw)
How does ConTeXt decide what penalties to place between items in a
\startitemize...\stopitemize construction? Looking at the vertical list
with \showlists, I sometimes see a penalty of -5, sometimes 500, and
sometimes 10000.
There's a place in my document where TeX prefers to break a page just
before the last line of an \item paragraph, leaving 2 blank lines at
the bottom of the page, rather than breaking after the paragraph and
leaving one blank line. There appears to be a penalty of 10000 here.
Are penalties added to prevent breaking just after the first item in
a list?
It should be easy to add my own breakpoints with inbetween={\blank\penalty0}
or something, but presumably this is not the natural solution. I looked
briefly at the other options to \setupitemize without finding the answer.
Apologies if the answer is obvious....
-- Miller Maley
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Penalties between items?
2001-12-01 23:16 Penalties between items? F. Miller Maley
@ 2001-12-03 9:54 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2001-12-03 9:54 UTC (permalink / raw)
Cc: ntg-context
At 06:16 PM 12/1/2001 -0500, F. Miller Maley wrote:
>How does ConTeXt decide what penalties to place between items in a
>\startitemize...\stopitemize construction? Looking at the vertical list
>with \showlists, I sometimes see a penalty of -5, sometimes 500, and
>sometimes 10000.
indeed, context tries not to split the two first or last items
>There's a place in my document where TeX prefers to break a page just
>before the last line of an \item paragraph, leaving 2 blank lines at
>the bottom of the page, rather than breaking after the paragraph and
>leaving one blank line. There appears to be a penalty of 10000 here.
>Are penalties added to prevent breaking just after the first item in
>a list?
something like that; if youhave a fialing casse, i need a minimal example
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-12-03 9:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-01 23:16 Penalties between items? F. Miller Maley
2001-12-03 9:54 ` Hans Hagen
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).