groff
[Top][All Lists]
Advanced

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

Re: [Groff] Re: Disabling SGR in grotty(1): gory details


From: Tadziu Hoffmann
Subject: Re: [Groff] Re: Disabling SGR in grotty(1): gory details
Date: Mon, 28 Oct 2002 10:55:07 +0100
User-agent: Mutt/1.3.22.1i

> Oops!  Wrong example.  Here's the right one.  Please try again.
> 
> ======================================================================
> 
> .de xxx
> ..
> .
> .wh 0 xxx
> .
> .pl 5v
> foo
> .sp 3
> bar
> .sp 3
> baz


Need to adapt this to traditional troff syntax to get output:
(Remember that ".de xxx" means ".de xx x", but x never gets
called, so *all* input goes into xx with no output.)

----------------------------------------------------------------
.de xx
..
.
.wh 0 xx
.
.pl 5v
foo
.sp 3
bar
.sp 3
baz
----------------------------------------------------------------

and then you get with Solaris nroff:

----------------------------------------------------------------
foo



bar
baz




----------------------------------------------------------------

(2 "pages".)



reply via email to

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