Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ucsd!swrinde!dpmizar!csoftec!conrad!sac From: sac@conrad.UUCP (Steven A. Conrad) Newsgroups: comp.text Subject: Re: Shaded Boxes in PIC Message-ID: <175@conrad.UUCP> Date: 13 Nov 89 00:37:09 GMT References: <546@dcdwest.UUCP> <127725@sun.Eng.Sun.COM> Reply-To: sac@conrad.UUCP (Steven A. Conrad) Distribution: usa Organization: Louisiana State University Medical Center, Shreveport Lines: 24 In article <127725@sun.Eng.Sun.COM> henry%angel@Sun.COM (Henry McGilton -- Software Products) writes: > > I would like to know how to shade a box or other closed form > > in pic. >In principle this cannot be done. pic is a preprocessor ... >In closing, I'm not at all sure it's possible to do what you want >in a simple way (not requiring modifications to both pic and >troff). But if anyone else knows better I'd be happy to learn >something new. I use troff, although my postprocessor generates HP's language instead of Postscript. My postprocessor permits passing of transparent control sequences, one of which is to set the shading for subsequently drawn boxes; I handle this with simple macros embedded in my pic statements, and it works beautifully. Perhaps there is a postprocessor which handles this for Postscript? -- Steven A. Conrad, Department of Medicine (Critical Care) Louisiana State University Medical Center, Shreveport, LA UUCP: sac@conrad.UUCP, Internet: conrad@manta.pha.pa.us "I think there is a world market for about five computers" TJ Watson Jr, 1943