LATEX-L Archives

Mailing list for the LaTeX3 project


Options: Use Classic View

Use Monospaced Font
Show HTML Part by Default
Condense Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender: Mailing list for the LaTeX3 project <[log in to unmask]>
Date: Fri, 23 Sep 2011 07:12:44 +0100
Reply-To: Mailing list for the LaTeX3 project <[log in to unmask]>
Message-ID: <[log in to unmask]>
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
In-Reply-To: <[log in to unmask]>
Content-Type: text/plain; charset=ISO-8859-1
From: Joseph Wright <[log in to unmask]>
Parts/Attachments: text/plain (28 lines)
On 22/09/2011 22:37, Frank Mittelbach wrote:
>> One additional note from my experiments is that \interlinepenalties is
>> reset by \par, in the same way \parshape is. I can't see this mentioned
>> anywhere. In contrast, neither \interlinepenalty nor \clubpenalties are!
>> Quite surprising.
> looks like an oversight in the e-TeX manual. But it does make a lot of
> sense to do this (actually very nice because that means you don't have
> to bother about resetting).
> As i said the main use case was preventing pagebreaks for a while
> (couple of lines) after something like a heading, so essentially a
> onetime operation, while culb and widow penaltis are intended for the
> general visual behavior of (i like always at least 1 or tw lines of a
> paragraph on a page if possible) so that this is typically a setting
> that you want to generally apply.
> however that is inconsistent with \interlinepenalty which stays the way
> it is forever.

In the wider context of the galley, the fact that \interlinepenalties is
reset at the end of the paragraph does not help that much. A the \par
may occur inside a group, to reliably 'unset' it you have to \global the
value to 0. With that in mind, it's probably easier to ensure it does
_not_ reset and treat all of the penalties in the same way.
Joseph Wright