On Wed, May 01, 2013 at 11:02:58PM -0400, Louis Guillaume wrote:
> On 4/23/13 3:34 PM, Doug McIlroy wrote:
> > Is there a tool or trick for getting encapsulated postscript from pic?
> > What I want is that the bounding box should have origin 0 0 and
> > be just big enough to cover the picture.
> >
> > Doug McIlroy
>
> I have this in my Makefile...
>
> .ms.eps:
> ${GROFF} -stp -ms -dpaper=${PAGE} -P-b16 $< > $*.ps
> ${GS} -dNOPAUSE -sDEVICE=bbox -- $*.ps 2>$*.bbox
> ${SED} -e "/^%%Orientation/r $*.bbox" -e "/^%\!PS-Adobe-3.0/s/$$/
> EPSF-3.0/" $*.ps > $*.eps
> rm $*.bbox
>
>
> ... seems to do the trick.
>
> Louis
Sweet! A grateful community thanks you!
--
Mike Bianchi