[comp.text] how to get double spaced final output with nroff -mm?

kak@hico2.UUCP (Kris A. Kugel) (05/03/91)

My apologies if this query is not to the right groups . . . .

I'm having problems generating a document with nroff/troff.

What I WANT to do is generate double-spaced output.
It seems like this ought to be an easy thing to do.

I can get this by using the -rC4 flag, but not without
a "D R A F T" notice at the bottom (which I don't want).

I can't even figure out where this notice comes from.
I couldn't find it with "strings" in nroff or by greping in
/usr/lib/tmac/*  and /usr/lib/macros/* .
As far as I can tell, the macros themselves don't include (using .so)
anything outside of these directories, so I'd expect this search
to be complete.  It doesn't show up with these greps.  Yet it appears.

Does anybody out there know how to generate double spaced output
without the draft notice?  Does anybody know how to remove this notice?

I suppose I could put the output to a file and then edit the file,
but that's not going to work when I need to generate a good copy
with troff.

Please email your suggestions to me, I don't receive comp.text,
and I'm going to be too busy trying to finish this work
to read much news anyway.

Thanks in advance,
                               Kris A. Kugel
                             ( 908 ) 842-2707
                        uunet!westmark!hico2!kak
                         att!westmark!hico2!kak
                      internet: kak@hico2.westmark.com

kak@hico2.UUCP (Kris A. Kugel) (05/04/91)

In article <1604@hico2.UUCP>, kak@hico2.UUCP (Kris A. Kugel) writes:
> 
> What I WANT to do is generate double-spaced output.
> It seems like this ought to be an easy thing to do.

	In fact, it is --  .ls 2 does it.

This was one of the fastest replies I've ever gotten,
I posted this about 3 a.m., and had a PHONE CALL reply by 10:30 am.
Better than overnight.  (unfortunately, I was too sleepy to
remember the name of the responder to give him credit here)

                               Kris A. Kugel
                             ( 908 ) 842-2707
                      uunet!tsdiag.ccur.com!hico2!kak (maybe)
                        {daver,ditka,zorch}!hico2!kak
                      internet: kak@hico2.westmark.com

was@hp-lsd.COS.HP.COM (Bill Stubblebine) (05/06/91)

kak@hico2.UUCP (Kris A. Kugel) /  1:14 am  May  3, 1991 /

> Does anybody out there know how to generate double spaced output without
> the draft notice?

	Yes.  Use ".ls N".

	From the AT&T documentation that comes with HP's internal ditroff
	(see page 60 of the Nroff/Troff User Manual, Section 11.  Vertical
	Spacing Requests):

	.ls N 

	Line spacing set to +/- N.  Output N-1 blank lines (Vs) after each
	output text line.  If the text or previous appended blank line
	reached a trap position, appended blank lines are omitted.
	Relevant parameters are part of the current environment.

	A similar explanation of ".ls N" (along with many things mother
	(Bell) never mentioned about troff), also appears in "Unix Text
	Processing" by Dale Dougherty and Tim O'Reilly, Hayden Books, 1987,
	highly recommended.

> Does anybody know how to remove this ["D R A F T"] notice?

	Yes.  Don't use the -rC4 flag.

                                Bill Stubblebine
                                Hewlett-Packard Logic Systems Operation
                                8245 N. Union Blvd.
                                Colorado Springs, CO  80920
                                was@hp-lsd.col.hp.com  (Internet)
                                (719) 590-5568