Jirathana Worawattanamateekul wrote:

Dear Lyx users mailing list,


I am using Lyx for window, version 1.3.3.
I have currently a problem when i try to insert a float figure (an *eps file). This eps file is an output from Photoshop.


After i did insert -> float figure
then i typed in the Caption, then again
insert -> graphic
And i would like to see how it look
by view -> dvi

The following error occur:
"cannot determine size of graphic c:/Lyx/tmp/lyx_tmpdir1512a00/lyx_tmpbuf0/...."


I am quite new beginner with Lyx and using it to write my dissertation. I would appreciate if someone can suggest me concerning this problem and how can i solve it?

-Is there a limitation how big the eps file should be to be inserted in Lyx?
- Is Lyx also compatible with another graphic format like jpeg or tiff?




Best regard,
Jira

LyX can handle most common graphics formats, including JPEG, PNG, PDF and, yes, EPS. However, I seem to recall seeing one or two postings from people who had problems inserting EPS files generated by Adobe Illustrator, so perhaps there's a problem with the way Adobe products write the "encapsulating" information in EPS files. (I've inserted EPS files created by Mathematica with no particular problems that I can recall.)

Converting the file to another format, such as PNG, is one possible workaround. I assume that Photoshop supports a number of formats. However, there may be a bit of a cost. JPEG and PNG are bitmap formats. EPS files can contain bitmap images, but if I recall correctly they also contain vector graphics, and vector graphics resize more precisely than bitmaps do. Whenever possible, I try to keep graphs drawings (as opposed to pictures) in vector formats.

You might try exporting the image as a PDF file, which I believe keeps vectors as vectors. Another possibility, assuming that you have Ghostscript installed, is to run the Ghostscript eps2eps batch file against your original EPS file, and see if the cleaned-up file it exports loads properly.

-- Paul

******************************************************************************************
Paul A. Rubin Phone: (517) 432-3509
Department of Management Fax: (517) 432-1111
The Eli Broad Graduate School of Management E-mail: [EMAIL PROTECTED]
Michigan State University http://www.msu.edu/~rubin/
East Lansing, MI 48824-1122 (USA)
******************************************************************************************
Mathematicians are like Frenchmen: whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different. J. W. v. GOETHE




Reply via email to