1

Possible Duplicate:
How to avoid page-breaks inside paragraphs?

The style spec for a document requires that pagebreaks come between paragraphs or list items, so paragraphs are never split across pages. (The content is specced so that paragraphs are always short enough for this to be sane.)

How do I accomplish this? I looked into \penalty, which is mentioned in this answer, but it appears to be undocumented both on the ConTeXt Garden wiki and on the mailing list. There are a number of un(der)documented "penalty" commands such as \widowpenalty that control various aspects of paragraph breaking, but nothing that I can find that directly controls "to break or not to break" in absolute terms.

SevenSidedDie
  • 706
  • 5
  • 11
  • 1
    Have a look at http://tex.stackexchange.com/questions/21983/how-to-avoid-page-breaks-inside-paragraphs – lockstep Oct 06 '12 at 20:33
  • @lockstep That does the job! What's the policy on closing when the other question's answers are mostly LaTeX-specific and the sorta-but-not-really-exact duplicate is about ConTeXt? A TEX-native solution works, but context users are going to be seardching with {[tag:context]} to limit noise. If this was closed as a duplicate and linked to the other they'd find your answer (maybe, being the not-accepted answer on a LaTeX question, they might just close it before scrolling down), but it's not an exact duplicate, is it? Should the answer be duplicated here? – SevenSidedDie Oct 06 '12 at 20:40
  • Not sure, I asked a question in chat. – lockstep Oct 06 '12 at 20:45
  • BTW, if my answer to the linked question was helpful, don't hesitate to upvote it. ;-) – lockstep Oct 06 '12 at 20:49
  • @lockstep Right! Yes! I was so busy testing it then getting distracted by SE procedure that I forgot to return to upvote. There you go. :) – SevenSidedDie Oct 06 '12 at 20:50

0 Answers0