🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #4445

Re: troff macro for drop-initials at beginning of paragraphs

#4445
From: bob desinger
Date: Fri, 19 Feb 1988 02:22
14 lines
837 bytes
Here's a small fix to Robert Marks's cool .DI drop-initial macro.
The macro initially translates ~ to space but never restores
it---so in his sample paragraph (and any text after it), ~ prints
as space instead of ~.

The fix is simple:  just before the ".." that ends the .DI macro,
insert two lines:

	.\" Allow ~ to be printed in subsequent text.
	.tr ~~

The line right after ".tr ~~" should be the ".." closing request.

Thanks, Robert, for a great macro!
Technical Details
Message-ID: <1270001@hpsemc.HP.COM>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!think!ames!pasteur!ucbvax!hplabs!hpda!hpsemc!bd
References: <559@agsm.unsw.oz>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!think!ames!pasteur!ucbvax!hplabs!hpda!hpsemc!bd
From: bd@hpsemc.HP.COM (bob desinger)
Newsgroups: comp.text
Subject: Re: troff macro for drop-initials at beginning of paragraphs
Message-ID: <1270001@hpsemc.HP.COM>
Date: 19 Feb 88 02:22:01 GMT
References: <559@agsm.unsw.oz>
Organization: HP SEMC, Cupertino, CA
Lines: 14