kosmikus/lhs2tex — Issue #13: page breaks
Author: kosmikus
Created: 2011-12-13 08:10:58+00:00
State: open

Figure out a way to handle certain page breaks better. There are at least two situations where the current situation is bad:

* If a single line precedes a code block (or follows it), then LaTeX prefers to break between the code block and the single line than at the paragraph boundary.

* In a code block, page breaks (if allowed) occur randomly, but it should be preferred to break at blank lines.