[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Groff] RE: using gpic
From: |
Werner LEMBERG |
Subject: |
[Groff] RE: using gpic |
Date: |
Wed, 29 Oct 2003 13:13:56 +0100 (CET) |
Sorry for the late reply.
> > is there a way to use groff number registers in pic?
> > e.g. to use registers like LL in ms to draw a box or line?
>
> [Omitting Ted's approach]
>
> If anyone can suggest a simpler and more straightforward approach,
> you would be doing some of us a service!
What about this (you need groff's -U switch, of course):
.de PSx
. open PS-file PS.in
. de pic-contents PEx
..
.
.de PEx
. write PS-file .PS
. writem PS-file pic-contents
. write PS-file .PE
. close PS-file
. sy pic PS.in > PS.out
. if \\n[systat] \
. ab Error in calling pic (line \\n[.c])
. so PS.out
..
.
.ds text foo
.
.PSx
box width 0.6 "\*[text]"
.PEx
Werner
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Groff] RE: using gpic,
Werner LEMBERG <=