groff
[Top][All Lists]
Advanced

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

Re: [Groff] clashings with .chop


From: Werner LEMBERG
Subject: Re: [Groff] clashings with .chop
Date: Sat, 20 Oct 2001 00:58:16 +0200 (CEST)

> > BTW, .chop shouldn't be used with macros.  It makes only sense for
> > diversions to strip off the final newline.  Everything else will
> > produce crap.  Read the section "`gtroff' Internals" (Node `Gtroff
> > Internals') in groff.texinfo for more information.
>
> Would it make sense and would it be difficult to move .chop from the
> "input token" level to the "output node"? (a TODO would be ok for
> the moment).

I don't think so.  Since macros, strings, and diversions are virtually
the same, .chop has to work with the general structure behind those
three concepts.  And since this structure can contain both input
tokens and output nodes intermixed, it can't be restricted to nodes
only.


    Werner

reply via email to

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