On 26 Jan 06, at 01:06, Georg Baum wrote:

Kevin Pfeiffer wrote:

In my experience (1.3.5) LyX converts jpegs to an EPS automagically.

Only for dvi output, but he runs pdflatex. LyX does not convert to eps in
this case.

And
above it does say "type eps"...

I overread this. That is very interesting. Marc. please post the complete \includegraphics command of the .tex file that was created by LyX. Does it
create something like type=eps? If not, then either your image or your
pdflatex compiler is broken.



Thanks for getting back to me.

I have tested the 3 images in a standalone file, and the images display fine using the PDF (ps to pdf) option. It looks like the 3rd image, specified as eps rather than jpg, is converted to pdf before the tex file is created.

The jpg images are all in tmpbuf.

Opening the a1.tex file found in /tmp/lyx...
using Texshop gives the same results: image does not load.

Viewing the a1.lyx file as LaTeX directly:
opens Texshop, same result (no images)

Viewing the testimg.lyx file (where all I have is 3 images):
opens Texshop, works fine.

Not being able to view images in the other two options (PDF dvipdfm and PDF pdflatex is apparently a known bug: see <http:// bugzilla.lyx.org/show_bug.cgi? id=2127> and many thanks to Bennett Helm for pointing that out to me.


From the a1.tex file in /tmp/...
=========================================
\includegraphics[%
  bb=1bp 1bp 0bp 0bp,
scale=0.5]{/tmp/lyx_tmpdir182370kPLxI/ lyx_tmpbuf0/1_Users_donovan_courses_current_320_assign_a1-3a.jpg}
...
\includegraphics[%
  bb=1bp 1bp 836bp 321bp,
scale=0.5]{/tmp/lyx_tmpdir182370kPLxI/ lyx_tmpbuf0/2_Users_donovan_courses_current_320_assign_a1-3b.jpg}
...
\includegraphics[%
  bb=1bp 1bp 994bp 367bp,
scale=0.5]{/tmp/lyx_tmpdir182370kPLxI/ lyx_tmpbuf0/0_Users_donovan_courses_current_320_assign_a1-3c.pdf}
\end{document}
===========================================

from the testimg.tex file in /tmp/lyx... (the file that works):

==========================================
\includegraphics[%
  bb=1bp 1bp 1034bp 273bp,
scale=0.5]{/tmp/lyx_tmpdir182370kPLxI/ lyx_tmpbuf1/1_Users_donovan_courses_current_320_assign_a1-3a.jpg}

\includegraphics[%
  bb=1bp 1bp 836bp 321bp,
scale=0.5]{/tmp/lyx_tmpdir182370kPLxI/ lyx_tmpbuf1/2_Users_donovan_courses_current_320_assign_a1-3b.jpg}

\includegraphics[%
  bb=1bp 1bp 994bp 367bp,
scale=0.5]{/tmp/lyx_tmpdir182370kPLxI/ lyx_tmpbuf1/0_Users_donovan_courses_current_320_assign_a1-3c.pdf}
\end{document}
============================================

Reply via email to