Wolfgang Engelmann wrote:

> Which program is used for "Clip to bounding box" in LyX to remove white
> space of figures?

LyX simply reads out the bounding box of the produced eps file, so the
result depends on the program that created that eps file.

> I produced a figure with xfig which I converted to an 
> eps file. Both have white space, but the publisher does not like it,
> understandably. I tried to use
> fig2eps --bbox=dvips
> and
> fig2eps --bbox=gs
> but both cut the figure wrongly:

Do you really need fig2eps (i.e. dou you have special text in the figures)?

> The Fig was drawn in landscape, but the program reduces it in such a way
> as it has been drawn as portrait, which results in a figure where parts of
> the right side are gone

The default converter from fig to eps of LyX produces a nice eps file
without whitespace for me. If you want to run it by hand:

fig2dev -L eps t.fig t.eps

With that you don't even need the clipping option, so it should "Just work"
if you include the .fig fiels in LyX rather than the .eps files and let LyX
create the .eps files for you.

If you have special text in the figures then I recommend to include the .fig
files via the external inset. Then LyX will do all necessary steps for you
to produce a nice .eps file, again with a tight bounding box.


Georg

Reply via email to