Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!caip!brl-adm!brl-smoke!smoke!harv%ksuvax1.BITNET@WISCVM.arpa From: harv%ksuvax1.BITNET@WISCVM.arpa (Harvard Townsend) Newsgroups: net.unix-wizards Subject: troff underlining problem Message-ID: <1997@brl-smoke.ARPA> Date: Mon, 7-Jul-86 12:03:38 EDT Article-I.D.: brl-smok.1997 Posted: Mon Jul 7 12:03:38 1986 Date-Received: Tue, 8-Jul-86 05:28:13 EDT Sender: news@brl-smoke.ARPA Lines: 29 We are running the `troff' which comes with 4.2BSD on a VAX 11/780 (not `ditroff'). Has anyone fixed the way it does underlining? The problem shows up in 2 places. The first is when an underlined word is hyphenated and thus spread across 2 lines. The underline is drawn on the second line, extending on into the left margin since it is expecting to underline the first part of the word which is on the line above. This also happens when you are underlining a phrase which gets split across 2 lines. The other problem shows up when underlining a phrase, even if it is not split across 2 lines. If some white space is added between words in the phrase (in fill mode) to get justification of the right margin, the phrase then extends past the end of the underline. The length of the underline is not adjusted to account for the extra space added between the words in the phrase. The horizontal motion apparently is calculated before the hyphenation and justification is done. I'm assuming it is a troff problem, rather than the device driver (we are printing the documents on a QMS Lasergraphix 800. "qcat" does the CAT-to-QUIC code translation). Shutting off hyphenation and underlining individual words instead of phrases has gotten us by when needed, but I would like to fix the problem. Does `ditroff' handle this properly? If so, can anyone point me to a `ditroff' implementation for 4.2BSD on a VAX? I appreciate any help. ______________________________________ Harvard Townsend, Systems Administrator Kansas State University Dept. of Computer Science Manhattan, KS 66506 (913)532-6350 CSNET: harv@kansas-state -or- harv%kansas-state@csnet-relay.arpa BITNET: harv@ksuvax1.bitnet -or- harv%ksuvax1.bitnet@WISCVM.WISC.EDU UUCP: ihnp4!ltuxa!ksuvax1!harv