[net.text] changebars using NROFF?

vale@vale.bambi.UUCP (08/14/86)

I am a novice UNIX user on a SUN system. I would like to produce
change bars using NROFF but have been unable to do so. The best that I
have been able to do is to surround changes with .B and .R to produce
underlines. I am using the -ms macros. Any suggestions.
Thanks in advance.
				Peter Vale
				Applicon, Inc.
				UUCP: {decvax|ihnp4}|linus|raybed2|
					applicon|vale

jeff@mcnc.UUCP (Jeffrey Copeland) (08/25/86)

In article <20600001@vale> vale@vale.bambi.UUCP writes:
>I am a novice UNIX user on a SUN system. I would like to produce
>change bars using NROFF but have been unable to do so. 

Use the [nt]roff .mc directive.  It puts an arbitrary marginal mark
to the right of the text [nt]roff is outputting.

roy@phri.UUCP (Roy Smith) (08/27/86)

In article <20600001@vale> Peter Vale <vale@vale.bambi.UUCP> writes:
> I am a novice UNIX user on a SUN system. I would like to produce
> change bars using NROFF but have been unable to do so.

	About a year ago, a shell script called diffmark was posted to
the net.  You feed it 2 versions of an nroff document and it produces
as its output an nroff document with change bars in the margin.  If there
is enough interest, I guess I could post the copy I have.  I should point
out that I didn't write it -- it's by somebody named King Ables, but
I don't have his net address.

-- 
Roy Smith, {allegra,philabs}!phri!roy
System Administrator, Public Health Research Institute
455 First Avenue, New York, NY 10016