[comp.text] embedded postscript

wjh+@andrew.cmu.edu (Fred Hansen) (04/13/91)

In a personal message James Clark <jclark!jjc@uunet.UU.NET> asked

> How does your scheme for including PostScript in troff files cope with
> the possibility that the PostScript might contain `\' characters?

Since I had never tried a backslash, I got the wrong answer.

The right answer is that you are better off to double every backslash in
a \! line input to troff.

(Fortunately, PostScript requires few backslashes.)

Fred Hansen