Juan Antonio Navarro Perez wrote:
> I have found the "PS TO EPS" command in ghostview and, letting ghostview
> automatically compute the
> bounding box, it works fine. I am able to extract my figure to .eps and
> I am able to include
> it inside another LaTeX file without any problems. But I have the
> following questions:
>
> 1. I would like to know how to obtain this same effect running some command
> at a console (I am sure this should be possible, running gs with some
> parameters but don't
> know which) since I would like to do this latter programatically running
> ghostscript in
> the background from my app. I am reading the ghostscript documentation
> looking for an
> answer, but i haven't found anything yet.
If it's just about adjusting the BoundingBox, then you can use the
"epstool" program. Check out its options, there is one for automatic BB
calculation...
Regards,
Wald
--
BioTeC - Bioprocess Technology and Control
Dept. Chemical Engineering
Katholieke Universiteit Leuven
W. de Croylaan 46
B-3001 Heverlee
Tel.: +32(0)16/32.27.07 (direct) +32(0)16/32.26.76 (secretary)
Fax: +32(0)16/32.29.91
|