From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/7179 Path: main.gmane.org!not-for-mail From: Daniel Pittman Newsgroups: gmane.comp.tex.context Subject: Re: How to: get TeX to warn me when it breaks a chunk of text overpages. Date: Sat, 09 Mar 2002 09:23:45 +1100 Sender: owner-ntg-context@let.uu.nl Message-ID: <87ofhy1yxa.fsf@inanna.rimspace.net> References: <87u1rr1g4w.fsf@inanna.rimspace.net> <02030809040807.29570@publish> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035397661 17115 80.91.224.250 (23 Oct 2002 18:27:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:27:41 +0000 (UTC) Original-To: ntg-context@ntg.nl In-Reply-To: <02030809040807.29570@publish> (John Culleton's message of "Fri, 8 Mar 2002 09:04:08 -0500") Xref: main.gmane.org gmane.comp.tex.context:7179 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:7179 On Fri, 8 Mar 2002, John Culleton wrote: > On Friday 08 March 2002 05:57, Daniel Pittman wrote: [...] >> I would rather have (and have to fill) whitespace on the page >> than a page break in the middle of a recipe. [...] >> What would be great would be to be able to discourage page >> breaking within the recipe and to have TeX warn me when it >> does break within the bounds of the recipe. [...] > The traditional way of handling this is the \filbreak command. It > says in effect ``break the page here unless there is room for > the next chunk of text followed by a \filbreak command.'' See > the TeXBook page 111. Thst fits your recipe situation perfectly. The \filbreak command achieves the first part of what I want very nicely. It places whitespace to maximize the degree to which a recipe will remain on a single page but does not prevent page breaking. This is great -- thanks for that. :) I still don't get a warning if a recipe is longer than a single page, though, which is a shame. It's not an insoluble problem, just an annoyance. I wish that TeX would tell me when I had work to do on the layout. ;) I don't have the TeXbook[1] yet. Is the recipe on p.111 more than just the use of the \filbreak operation? If so, would you summarize it for me please? Thanks, though. This is /so/ much of an improvement. Daniel Footnotes: [1] Which annoys me, but I can't afford it for a little while since I became suddenly out of work. :( -- We close our eyes and look in opposite direction. We ignore the threats and hope they'll go away. We refuse to pay attention to the dangers we create in the name of our fathers we kill our children. -- Covenant, _Theremin_