[ale] groff .ne bug workaround

Bob bob at cavu.com
Wed Dec 29 14:24:47 EST 1999


If any of y'all use groff with -mm (or other packages) to format documents,
there seems to be a bug in groff (and also in many version of nroff/troff
on UNIX) where the ".ne" command is broken.

It is used to ensure the amount of space (in 'v' units specified as an
argument) are available on the current page and to cause a page eject
otherwise.

It is used in .P and .H in particular to avoid widows and, in the case of
the Table of Contents entries generated by .H, to keep lines together
due to strange coding.

Add the following near the top of your document or  
/usr/share/groff/tmac/tmac.mm to fix:

.\" Bob: the .ne command seems broken, like usual.  Work around it.
.de ne  
.sp \\$1
.sp -\\$1
..


Bob Toxen
bob at cavu.com
http://www.cavu.com
http://www.cavu.com/sunset.html   [Sunset Computer]
Fly-By-Day Consulting, Inc.       "Don't go with a fly-by-night outfit!"

Failure is not an option!
It comes bundled with all Microsoft products (in my opinion).
"Linux, a better way to go!"
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.






More information about the Ale mailing list