Thanks for the reply,

I am actually a Mac OS X user, running LyX 1.4.0.

I tried using a single-word, eps file in the same directory, as per the "extended features" document, which automatically gave me LaTeX output:

\includegraphics[width=0.4\columnwidth]{Fluid}

when I indicated the new file in LyX. This still didn't seem to work in the exported pdf, although the LaTeX formatting appears equivalent to the "extended features" example... Any other suggestions?

Thanks again,
Lee.


On 30/03/2006, at 10:33 AM, Todd Denniston wrote:

Lee Yeoh wrote:
I had a bit more of a rummage around and I managed to export the relevant latex code for my document:
--- begin quote ---
\begin{floatingfigure}[r]{6cm}%
\includegraphics[width=0.4\columnwidth]{\string"Figures/Fluid mosaic model\string".jpg}

looks like you are a windows user...Sorry.

I am _guessing_ that (in order to get quick joy) you need to do one of the following: 1) rename the figure to Figures/Fluid_mosaic_model_string.jpg and fix the graphics insert to match.
or
2) change the latex code to \includegraphics[width=0.4\columnwidth] {\string"Figures/Fluid\ mosaic\ model\string".jpg}

Which LyX & TeX version? I thought they had half way solved that problem.

\caption{The fluid mosaic model of cell membranes}\end {floatingfigure}%
--- end quote ---
compared to the latex code for the "extended features" wrapped float
--- begin quote ---
\begin{floatingfigure}[r]{6cm}%
\includegraphics[width=0.4\columnwidth]{mobius}
\caption{This is a wrapped figure, and this is the brilliant caption that
describes it}\end{floatingfigure}%
--- end quote ---
The only difference appears to be the {\string"Figures/Fluid mosaic model\string".jpg} part. I tried numerous other methods, involving ERT, making the figure eps, and placing it in the same directory as the lyx file. When I used the last two methods together, the latex code was identical to the example, but still nothing in the export!!! Quite frustrating!
Any ideas?
Thanks again,
Lee.

--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter


--
Lee Yeoh


Reply via email to