groff
[Top][All Lists]
Advanced

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

RE: [Groff] More arguments, please :-)


From: Ted Harding
Subject: RE: [Groff] More arguments, please :-)
Date: Fri, 10 Mar 2006 21:51:41 -0000 (GMT)

On 10-Mar-06 Miklos Somogyi wrote:
> I've just discovered the `blm' macro. I think that I'll use
> it like this:
> 
> .blm sp4
> 
> .de sp4
> .sp .4
> ..
> 
> 'cause I can read thing better with blank lines than with individual 
> `.sp .4` inserts.
> Here blm has an argument, a macro. If the macro could have an argument 
> too:
> 
> .blm macro macro_parameter
> 
> then it would be absolutely easy to adjust the bottom of the page to go
> down right to the margin. Perhaps the whole thing could be automated.
> 
> Is there a way to make an offer to blm that it can't refuse, to accept
> one more argument?
> Is this adjustment thing I am dreaming about already solved in any 
> other way?

I think the only way you can do it is on the following lines:

.de mysp
.sp 4
..
.blm mysp

and then you can simply redefine 'mysp' whenever you like, without
redefining 'blm'. This is almost as compact as redefining

.blm sp 6

say, every time.

Best wishes,
Ted.

--------------------------------------------------------------------
E-Mail: (Ted Harding) <address@hidden>
Fax-to-email: +44 (0)870 094 0861
Date: 10-Mar-06                                       Time: 21:51:37
------------------------------ XFMail ------------------------------




reply via email to

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