Denis, the problem is that my PS inserts contain references to number registers that my macro calculates. If I put such PS under a macro, then I find in the final PS program my PS insert with the registers already evaluated, using perhaps some old and inappropriate values.

I've tried

.de mac
ps: exec
postscript code with \n[...] references
postscript code with \n[...] references
..

and

.de mac
\!  postscript code with \n[...] references
\!  postscript code
..

and either I get error messages or wrong results.
My problem (one of them) is that I don't know how to copy some stuff VERBATIM.

Thanks,

Miklos


On 26/11/2008, at 07:18 AM, Denis M. Wilson wrote:

I've put multi-line PostScript into troff docs by defining it
in a macro, say somepic, then using \Y[somepic].

Is this any help?

Denis





Reply via email to