Allow page-breaking for boxes?
Currently, the example boxes are not allowed to page-break, which leads to awkward underfull vbox sometimes.
Before I (possibly) try to figure out how to fix it, is it desirable for these to be fixed in the first place?
I'd be okay with splitting example boxes.
Looking at the preamble...
https://github.com/vEnhance/napkin/blob/32cde8595d5aeab72f5e23912e6ff638ff13654c/tex/preamble.tex#L149
looks like the nobreak is intentional though.
It's probably copy-pasted from evan.sty many years back where the examples tend to be shorter and it makes more sense to disallow breaking. Since the examples in napkin are longer I'd be willing to drop that line if people think it looks better (I'm fairly indifferent).
Anyone else have an opinion one way or the other?
I've been using this option locally for a while now.
Sometimes I get a very bad break with this option...
Looks like it's mdframed 's fault. https://tex.stackexchange.com/questions/241543/how-to-prevent-mdframed-from-typesetting-a-widow-line-that-contains-just-a-bit-v The usual fix is to switch to tcolorbox.
Finished in bb899135ff39d2a930cb13a3db3cf1969451968e.