groff
[Top][All Lists]
Advanced

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

Re: [Groff] Line continuation


From: Werner LEMBERG
Subject: Re: [Groff] Line continuation
Date: Sun, 26 Oct 2008 21:57:16 +0100 (CET)

> > > I need to start the remainder at the beginning of the next line.
> > > That would make my groff source less readable:
> > >
> > >     xxx  yyyy  wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
> > >     xxx  yyyy  wwwwwwwwwwwwwwwwww
> > >      xxx  yyyy  wwwwwwwwwwwwwwwwwwwwwwwwwwwwww\
> > >     wwwwwwwwwwwwwww
> > >     xxx   yyyy  wwwwwwwwwwwwwwwwwwwwwww
> > >
> > > I would like to push the remainder of wwwww to the right so as
> > > not to obscure the xxx yyyy structure and ask groff to please
> > > disregard all these leading spaces alongside with the linefeed.
> >
> >
> > Best guess, based on incomplete information: could this be what you
> > want?
> >
> >     .nop   xxx  yyyy  wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
> >     .nop   xxx  yyyy  wwwwwwwwwwwwwwwwww
> >     .nop   xxx  yyyy  wwwwwwwwwwwwwwwwwwwwwwwwwwwwww\c
> >     .nop                 wwwwwwwwwwwwwww
> >     .nop   xxx  yyyy  wwwwwwwwwwwwwwwwwwwwwww
> >
> 
> However, my understanding is still not complete.
> The documentation says: ".nop anything" executes "anything".
> Somehow I could not see the connection between execute anything and
> ignoring leading spaces.

.nop is an ordinary request, and between a request and its arguments
are of syntactical nature only anad consequently ignored.

> Now that you have done it, I think that .nop wwww is looking for
> something (other than spaces) to execute.  Finding the wwww bunch it
> decides that it is text, not command, and how do you execute text:
> you append it.  Brilliant, if this is the solution. Is it?

It is the solution, more or less.  However, it is not suited for all
situations: The `\c' continues on the *output* level, not the input
data.


    Werner




reply via email to

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