Hi,

I'm not sure anyone else can reproduce this weird behavior under LyX
2.0.4 (Ubuntu): the tex code for jpeg figures seems to be wrong.
Suppose the jpeg file is foo.jpg; in the tex code exported from LyX it
will become this:

\includegraphics{\string"0_path_to_foo\string".jpg, jpeg}

pdflatex will write the text "jpeg jpeg" before the figure in the PDF
output. It turns out that LyX copied foo.jpg to the temp dir as
"0_path_to_foo.jpg, jpeg". I do not understand why this happens. PNG
figures are fine.

Regards,
Yihui
--
Yihui Xie <xieyi...@gmail.com>
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA

Reply via email to