>>To: lyx-users@lists.lyx.org >>From: Georg Baum <[EMAIL PROTECTED]> >>Subject: Re: Lyx 1-4-4 neglects .eps bounding box? >>Date: Wed, 28 Feb 2007 09:48:30 +0100 >> >>Póta György wrote: >> >>> Dear Users, >>> >>> Under Windows the best way of creating .eps drawings was to draw the >>> figure, to print it as an .eps file and then to use epstool to add a >>> bounding box around the figure in an a4 page. Thus, only the figure was >>> seen in Lyx the a4 page was not. >>> >>> However, Lyx-1-4-4 apparently neglects the bounding box created by the >>> above method, and both in Lyx and Yap the whole a4 page is visible with >>> the wanted figure in the middle. >> >>That should not happen. Your procedure is supposed to work. If you send us >>an example .eps file (with correct bounding box) that shows this behaviour >>we can find out whether it is a local problem with your installation, or a >>general one. Without an example it is difficult.
A test on the first line of the file could help: if the EPS string is missing, LyX thinks is PS and not EPS, even with a BB included. ps2eps does add the EPS string in the first line, don't know for epstool. Lyx does handle differently these two files: -> head trace.eps %!PS-Adobe-2.0 %%Title: trace.eps %%Creator: gnuplot 4.0 patchlevel 0 %%CreationDate: Tue Nov 21 08:47:17 2006 %%DocumentFonts: (atend) %%BoundingBox: 50 50 554 770 %%Orientation: Portrait %%Pages: (atend) %%EndComments -> head tt.eps %!PS-Adobe-2.0 EPSF-2.0 %%Title: tt.fig %%Creator: fig2dev Version 3.2 Patchlevel 3c %%CreationDate: Wed Jun 26 10:27:11 2002 %%BoundingBox: 0 0 249 159 %%Magnification: 1.0000 %%EndComments -- Jean-Pierre