Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

needspace: bad interactions with \addpenalty #10

Closed
wspr opened this issue Sep 9, 2010 · 1 comment
Closed

needspace: bad interactions with \addpenalty #10

wspr opened this issue Sep 9, 2010 · 1 comment

Comments

@wspr
Copy link
Owner

wspr commented Sep 9, 2010

Via Donald A on c.t.t.:

There is a conflict between \needspace and the \addpenalty
hidden inside the \section command.  \needspace should end
with \vskip\z@skip (\vskip 0 pt), just as the definition of
\vspace does, to ensure co-operation.

The first \needspace works because page breaks are forbidden
after chapter headings, so \addpenalty is not used by \section.
@wspr
Copy link
Owner Author

wspr commented Sep 12, 2010

Closed in 1df629a

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant