brown%astroatc.UUCP@cs.wisc.edu (Vidiot) (03/13/91)
I realise that isn't the correct place to post a patch, but bear with me. If you print the latest version of the ST:TNG Program Guide, pages 185-187 will have improper paragraph breaks, if you use the 1.00 version of groff. The following patch will print those pages correctly. If you can't recompile your copy of gtroff, the sttng-4.txt will be corrected in the next release so that the release version of groff will work in any case. Apply patch to troff/input.c. Make a backup copy for when official patches are released. This fix is from the groff author and will be included in a future release. *** input.c.~4~ Sat Mar 2 12:03:00 1991 --- input.c Sun Mar 10 09:50:37 1991 *************** *** 1984,1995 **** nspaces += tok.nspaces(); tok.next(); } while (tok.space()); ! curenv->add_node(new hmotion_node(curenv->get_space_width()*nspaces)); ! suppress_next = 1; } ! else curenv->space(); ! bol = 0; break; } case token::TOKEN_EOF: --- 1984,2001 ---- nspaces += tok.nspaces(); tok.next(); } while (tok.space()); ! if (tok.newline()) ! blank_line(); ! else { ! curenv->add_node(new hmotion_node(curenv->get_space_width()*nspaces)); ! suppress_next = 1; ! bol = 0; ! } } ! else { curenv->space(); ! bol = 0; ! } break; } case token::TOKEN_EOF: -- harvard\ att!nicmad\ spool.cs.wisc.edu!astroatc!vidiot!brown Vidiot ucbvax!uwvax..........!astroatc!vidiot!brown rutgers/ decvax!nicmad/ INTERNET:vidiot!brown%astroatc@spool.cs.wisc.edu -- ------------------------------------------------------------------------------- Edited by Jim "The Big Dweeb" Griffith - the official scapegoat for r.a.s.i. Email submissions to trek-info@dweeb.fx.com, and questions to trek-info-request@dweeb.fx.com