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 mailing list
Groff@gnu.org
http://lists.gnu.org/mailman/listinfo/groff

Reply via email to