[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] encapsulated postscript from pic
From: |
James K. Lowden |
Subject: |
Re: [Groff] encapsulated postscript from pic |
Date: |
Tue, 23 Apr 2013 18:37:18 -0400 |
On Tue, 23 Apr 2013 15:34:34 -0400
Doug McIlroy <address@hidden> 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