groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] -me and macroses


From: Werner LEMBERG
Subject: Re: [Groff] -me and macroses
Date: Mon, 03 Dec 2001 16:08:25 +0100 (CET)

> I define a new macros:
> 
> .de my_macr
> \"something here
> ..
> 
> After there I can use this macros like this:
> 
> text text text
> .my_macr
> text text tex
> 
> 
> Is it possible to use my macros like this:
> 
> tetx text text my_macr text text text 
> 
> I.e. I mean, is it nessesary to invoke my macros, begin a new
> string?

Yes.  Just say

  text text text \*[my_macr] text text text

Note that it is not possible to pass arguments if a macro is called
via the string mechanism (i.e., using `\*').  This `limitation' is a
design issue of troff.


    Werner

reply via email to

[Prev in Thread] Current Thread [Next in Thread]