groff
[Top][All Lists]
Advanced

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

Re: [Groff] strings with arguments


From: Werner LEMBERG
Subject: Re: [Groff] strings with arguments
Date: Sat, 06 Jul 2002 08:52:19 +0200 (CEST)

> When a .box is called like a string with \*[], the leading spacing is
> omitted.  So this should be possible for macros as well, even when 
> combined with the new string with arguments feature.  Some internal
> chopping should be able to remove the trailing spacing (the .chop
> infrastructure is already there).

Chopping in general doesn't work.  Consider this:

  .de xxx
  .yyy
  ..
  .chop xxx
  This is \*[xxx]

    => This is .yyy.

I *think* I found a very elegant way to suppress the final newline
while calling macros inline.  It doesn't work yet, ...


    Werner

reply via email to

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