On 01/04/2006, at 9:37 AM, Paul A. Rubin wrote:
There's nothing visibly wrong with the argument \string"Figures/ Fluid mosaic model\string".jpg, assuming that your image is named 'Fluid mosaic model.jpg' and lives in a folder named 'Figures' directly under the folder containing the LyX file.

When you say no image appears in the exported version ...

1. Do you mean an error message is produced (if so, what does it say?) or just that there's an empty space in the PDF file where the image should be? (You might have to look in the TeX log file to see if there's an error message.)

There is no error message produced (although I am not really sure where the log files would be produced). There just appears to be nothing in the document, no sign of the wrap float existing at all.

2. How are you doing the export: export to .tex and run pdflatex or something equivalent; export to PDF using the LyX File->Export menu (which method?); or View->PDF (again, which method)?

I've been using View-> PDF (pdflatex)

All else failing, can you post a minimal example (a LyX doc with just enough content to demonstrate the failure, and the required .jpg file).

Hmm... well I seem to have isolated the problem a little. I tried to make an example file, and the text wrap worked perfectly this time... It seems that if I have standard text following the float, then it will display fine. Where I run into problems is when I use the itemise format.

• If I have itemised text in the next paragraph of the document, nothing will be rendered.

• If I have even a single character of standard text either in the next paragraph or immediately following the graphic in the same paragraph, the image will render. The problem with this workaround is that the itemised text does not wrap around this image.

Perhaps this is a bug with floatflt, but in any case, I've posted a zip of an example lyx file, an image and the pdf output at this link:

http://web.netcall.com.au/tilde/wraptest.zip


One other question, does anyone know what all those blah.lyx~ files and ##blah.lyx## files are? I've just been deleting them...


Thanks,
Lee.
--
Lee Yeoh


Reply via email to