LyXInsert graphics problem in LyX 1.6.2

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
apjaworski
Posts: 1
Joined: Fri Apr 17, 2009 6:46 pm

Insert graphics problem in LyX 1.6.2

Post by apjaworski »

Hello,

I just updated 1.6.0 to 1.6.2 and something got broken with the Insert>Graphics or, more likely, I do not know how to do things properly. I am on Windows XP SP2 with standard up-to-date installation of MiKTeX. The update went with no obvious problems.

I had a test file example1.lyx with just a bunch of different things in it - some math, tables and also one figure. I have this figure (just some simple graph) in 3 formats: JPEG, PNG and EPS. The figure shows fine on the screen in all formats. However when I click the PDF button (view PDF (pdflatex)) I get an error window saying

LaTeX Error: Cannot determine size of graphic in 0C__Documents_and_Settings_u

Now, a funny thing is that when I export LaTeX from the same document and run pdflatex on the exported file everything works fine.

Could anybody help? Thanks in advance for your time,

Andy

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

nuke
Posts: 6
Joined: Tue Jul 14, 2009 4:01 pm

Insert graphics problem in LyX 1.6.2

Post by nuke »

Andy,
I have a similar issue. I guess it happens because the files are not found (complex path?).
http://www.latex-community.org/forum/vi ... =19&t=5385
apjaworski wrote:I just updated 1.6.0 to 1.6.2 and something got broken with the Insert>Graphics or, more likely, I do not know how to do things properly. I am on Windows XP SP2 with standard up-to-date installation of MiKTeX. The update went with no obvious problems.

I had a test file example1.lyx with just a bunch of different things in it - some math, tables and also one figure. I have this figure (just some simple graph) in 3 formats: JPEG, PNG and EPS. The figure shows fine on the screen in all formats. However when I click the PDF button (view PDF (pdflatex)) I get an error window saying

LaTeX Error: Cannot determine size of graphic in 0C__Documents_and_Settings_u

Now, a funny thing is that when I export LaTeX from the same document and run pdflatex on the exported file everything works fine.
Andy
Post Reply