On May 16, 2011, at 8:36 AM, Russ Cox wrote:

>> They work great for troff, now I just need to investigate applying the same 
>> technique to grap.
> 
> You can do it in pic (and I think grap) by just emitting some text
> before drawing something.  In fact you can do arbitrary postscript
> code.  This snippet uses the Pr string to push the current color
> on the stack and then switch to gray.  The Pb string restores the
> previous color from the stack.

Thanks, that made me look back at the docks (and Sape's original
post) and remember that the emitted text needs to be
.at the beginning of the line.


Reply via email to