Gunnar wrote:
Hello.
I've inserted the following eps file in LyX 1.3.6 (gentoo linux)
%!PS-Adobe-3.0 EPSF-2.0
%%BoundingBox: 0 0 200 140
/mm {2.834646  mul} def
10 10 translate
0 10 120 {
        dup 0 exch  moveto 180 exch lineto
} for
0 10 180 {
        dup 0 moveto 120 lineto
} for
stroke
showpage

The lines shows up nicely in LyX, but it is placed on a huge white background. Very anoying.

Any ideas on how to get it to only display the actual picture? Trying to use "clip to boundingbox" doesn't change anything either.

Try with adding a HighResBoundingBox as well, that seem to make it.
So your header should be

%!PS-Adobe-3.0 EPSF-2.0
%%BoundingBox: 0 0 200 140
%%HiResBoundingBox: 0.0 0.0 200.0 140.0

/johan

Reply via email to