groff
[Top][All Lists]
Advanced

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

Re: [Groff] Graph in a man page


From: Andre Majorel
Subject: Re: [Groff] Graph in a man page
Date: Fri, 20 Aug 2010 10:30:33 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

On 2010-08-20 09:37 +0200, Werner LEMBERG wrote:
> 
> > I'd like to include a simple diagram in a man page, something
> > like this :
> >
> >              _____       _____        _____
> >             |     |  A  |     |   C  |     |
> >             |  X  |---->|  Y  |----->|  Z  |
> >             |     |<----|     |<-----|     |
> >             |_____|  B  |_____|   D  |_____|
> >
> > I suppose I could use tbl or switch to a fixed-spacing font and
> > use .nf. What would you recommend ?
> 
> The advantage of tbl is that you get a real graphics with non-TTy
> output devices.

But for the boxes, not for the arrows, if I'm not mistaken.

> > It must work both in print and in a terminal and not depend on
> > Groff.
> 
> `Must not depend on groff'?  What does this mean?

Simply that it must work with any nroff & troff, not just Groff.

-- 
André Majorel http://www.teaser.fr/~amajorel/



reply via email to

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