[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Groff] How to pass parameters to included ps
From: |
Miklos Somogyi |
Subject: |
[Groff] How to pass parameters to included ps |
Date: |
Thu, 23 Feb 2006 03:17:10 +1100 |
How would I pass arbitrary ps parameters to an included ps routine?
E.g.
.something 50 (hello) 100
where
.de something
.....
\Y[something-aux]
..
and
.de something-aux
ps: exec
....
.... == flush % show parameter on stderr
..
It seems that not even man grops' example is working
.nr x 5i
,de y
ps: exec
\nx u 0 rlineto stroke
..
where \nx == flush or \nx u == flush gives just 0, as if nobody was
looking into the code
to replace the \nx not-so-PostScript thing.
If possible, a mechanism to pass parameters without non-ps scaling
factors and without
number registers and groff-type strings.
Is that possible?
Thanks
Miklos
- [Groff] How to pass parameters to included ps,
Miklos Somogyi <=