Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!panda!husc6!harvard!cmcl2!phri!roy From: roy@phri.UUCP (Roy Smith) Newsgroups: net.wanted.sources,net.text Subject: Re: Orphans & Widows Fix for Troff Wanted Message-ID: <2331@phri.UUCP> Date: Sat, 3-May-86 14:45:51 EDT Article-I.D.: phri.2331 Posted: Sat May 3 14:45:51 1986 Date-Received: Tue, 6-May-86 04:16:44 EDT References: <312@garth.UUCP> Reply-To: roy@phri.UUCP (Roy Smith) Distribution: net Organization: Public Health Research Inst. (NY, NY) Lines: 15 Xref: watmath net.wanted.sources:2270 net.text:1059 In article <312@garth.UUCP> jdw@garth.UUCP (Doug Waidhofer) writes: > I'm interested in any hacks or purchaseable software that fixes > the problems of Orphans and Widows in Troff. > We fixed widow lines by imbedding a ".ne 3" request in the paragraph macro (I think -me has this by default). Orphan lines are harder to deal with; I could see a scheme whereby you divert output in the start-paragraph macro, and have an end-paragraph macro that sees how long the paragraph is, and how much is left on the page and inserts a .bp at the right place. Yuck! -- Roy Smith, {allegra,philabs}!phri!roy System Administrator, Public Health Research Institute 455 First Avenue, New York, NY 10016