On Tue, 23 Apr 2013 15:34:34 -0400
Doug McIlroy <d...@cs.dartmouth.edu> 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.

AFAIK not with groff alone.

Ghostscript has ps2epsi.  ISTR PStricks has something similar.  If PDF
is acceptable, dvipdfm (http://gaspra.kettering.edu/dvipdfm/) produces
encapsulated an encapsulated PDF.  

I have the same need, and do wish it was simpler.  What better way to
generate diagrams for reference by HTML?  Until, that is, the browser
recognizes troff.  

HTH.  

--jkl



Reply via email to