groff
[Top][All Lists]
Advanced

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

Re: [Groff] man-page macro


From: Bernd Warken
Subject: Re: [Groff] man-page macro
Date: Thu, 23 Mar 2000 22:28:01 +0100

On Thu, Mar 23, 2000 at 08:14:32AM +0000, Werner LEMBERG wrote:
> 
> > I propose to add the following macro .MP to both tmac.an and
> > tmac.mm.  It is a convenient way to display a man page entry in the
> > style required by man(7).
> 
> This means that your macro will be used commonly only for manual pages
> specific to GNU systems like Linux or FreeBSD.  But then it is easy to
> add, say, a line
> 
>   .mso tmac.ext
> 
> at the beginning of the man page which loads extensions and useful
> additions to various macro packages (not only related to man).
> 
This approach makes sense, tho the name tmac.ext seems too general.
One is limited to troff requests.

One could define an extension file for each macro package, e.g.
tmac.<package>ext.  Or a general tmac.gnu.

Bernd Warken <address@hidden>



reply via email to

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