groff
[Top][All Lists]
Advanced

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

Re: [Groff] nop request


From: Werner LEMBERG
Subject: Re: [Groff] nop request
Date: Mon, 04 Sep 2000 19:47:38 +0200 (CEST)

> So, while I can see the point of Werner's proposal, I think it would
> be a very good idea to call it something else. Maybe ".pad"? I don't
> have a clearly good suggestion for the name.

What about `.nor' (no-operation request)?  Or just using a symbol,
e.g. `.!' or `."'?

> Finally, I think the interpretation as 'equivalent to ".if 1"' is not
> obvious: does it mean you can use
> 
>   .nop \{Some input
>   and some more input
>   .\}
>
> If not, then is it not equivalent to
> 
>   .de nop
>   \\$*
>   ..

It doesn't matter at all.  The coding in troff makes only a difference
for `.if 0', i.e. for code to be skipped.  `\{' and `\}' are
completely ignored otherwise.  Cf. skip_alternative() and
begin_alternative() in src/roff/troff/input.cc.


    Werner

reply via email to

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