LyXError when inserting graph

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
JohnnyEconomics
Posts: 2
Joined: Sun Mar 27, 2016 7:01 pm

Error when inserting graph

Post by JohnnyEconomics »

Hello,

I am fairly new to LyX. I have encountered a problem when I try inserting a picture or graph into my LyX document. Essentially whenever I do "insert" - "graph" it does insert the picture that I have chosen, but whenever I try to export to PDFlatex or display my document it says:

There was an error opening this document. The file is damaged and could not be repaired.

I have tried many times, but it refuses to do so. I have tried with esps.files, PNG and JPEG.

What do I do?

Thanks!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX books
User avatar
Stefan Kottwitz
Site Admin
Posts: 10308
Joined: Mon Mar 10, 2008 9:44 pm

Re: Error when inserting graph

Post by Stefan Kottwitz »

Hi Johnny,

welcome to the forum!

Can you please post the .log file, which is produced by LyX / LaTeX? You can add attachments to posts here in the forum.

Stefan
LaTeX.org admin
JohnnyEconomics
Posts: 2
Joined: Sun Mar 27, 2016 7:01 pm

Error when inserting graph

Post by JohnnyEconomics »

Stefan_K wrote:Hi Johnny,

welcome to the forum!

Can you please post the .log file, which is produced by LyX / LaTeX? You can add attachments to posts here in the forum.

Stefan
Hi,

Do you mean the "LyX-document" or the "LyX-file"?
User avatar
Stefan Kottwitz
Site Admin
Posts: 10308
Joined: Mon Mar 10, 2008 9:44 pm

Re: Error when inserting graph

Post by Stefan Kottwitz »

I mean the file with the name extension .log.

Stefan
LaTeX.org admin
scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

Re: Error when inserting graph

Post by scottkosty »

Note that the .log is accessible in LyX through Document > LaTeX Log after compiling. You can copy/paste those contents here.
Post Reply