Path: utzoo!attcan!uunet!tank!ncar!mailrus!eecae!netnews.upenn.edu!lfk From: lfk@mbio.med.upenn.edu (Lee Kolakowski) Newsgroups: comp.text Subject: Re: Troff macros... Message-ID: Date: 10 Mar 89 22:33:06 GMT References: <1595@amelia.nas.nasa.gov> Sender: news@netnews.upenn.edu Distribution: all Organization: University of Pennsylvania, Dept. of Chemistry Lines: 47 In-reply-to: marisa@wilbur.nas.nasa.gov's message of 10 Mar 89 19:45:32 GMT In article <1595@amelia.nas.nasa.gov> marisa@wilbur.nas.nasa.gov writes: > If I have my own troff macro, but am unable to place it into > /usr/lib/tmac/tmac.name due to permission problems, how do I > tell troff to use *my* macro file? I could include my macro > file at the top of every troff file that I use it with, but > I am looking for a command line option. Well, there are lots of ways to do this. first -m(?) is not magic, it is just short for (?)roff /usr/lib/tmac/tmac.(?) filename so that means that you can just put your macros in a file that you call any of the following ways roff -m(?) your_macro_file your_input or in your input at the top .so your_macro_file If you are using macro names that are the same as already existing macros, it is best if you remove the existing macro, before defining yours, although I don't think it matters. .rm PP .de PP . . . .. -- Frank Kolakowski ____________________________________________________________________________ |lfk@mbio.med.upenn.edu || Lee F. Kolakowski | |kolakowski@mscf.med.upenn. || Univ. of Penna. | |c/o jes@eniac.seas.upenn.edu || Dept of Chemistry | |kolakowski%c.chem.upenn.edu@relay.upenn.edu || 231 South 34th St. | |kolakowski%d.chem.upenn.edu@relay.upenn.edu || Phila, PA 19104 | |bcooperman.kolakowski@bionet-20.arpa ||--------------------------| |AT&T: 1-215-898-2927 || One-Liner Here! | =============================================================================