On 06/25/2017 03:25 PM, Paul Smith wrote:
On Sun, Jun 25, 2017 at 7:09 PM, Paul A. Rubin <parubi...@gmail.com> wrote:
You can manually force page breaks (after the document is "finalized") by
inserting formatting instructions. See section 3.5.5 of the LyX User Guide.
You might also try the enumitem module (see section 3.6 of the PDF
documentation for the enumitem package), but I've struggled to get that to
work.
I am looking for a simple and automatic way. But thanks, Paul!

Paul
Fully automatic (not to mention simple) may not be feasible. What if you have a zillion subitems under one main item (or a few really long subitems)? Theoretically, you could put LaTeX in a position where your subitem list exceeds a page length but it's not allowed to break up the list. So, while I'm not a LaTeX guru, my guess is that the best you'll be able to do with an "automatic" approach is to encourage, rather than force, LaTeX to break after a sublist rather than during (or at the start) of one.

I believe that's what the penalty options in the enumitem package are intended to do, and I believe that you can set global values for those penalties. So, if I'm right, you should just need to make two tweaks to the document. Add the enumitem module in the document modules list, and add a line of LaTeX code in the preamble setting your penalties. IF I'm right (and IF you can get it to work).

Good luck with it,
Paul

Reply via email to