Lee Yeoh wrote:

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


You'll notice that even when the image appears (and by the way, where did you get a picture of my ex-girlfriend?), the bullet text overwrites it. This is a known bug/feature of floatflt, for which there is a work-around (section 3.1 of the floatflt manual) that requires you to replace \item commands with a customized version -- which I think effectively requires you to set the bullet list in ERT <sigh>. I'm not positive, but I think what you're encountering (which I reproduced here with LyX 1.4.1 on Win XP) is another aspect of the same bug. You might want to report it to the package author. The manual (a DVI file in the docs/latex/floatflt folder under your main TeX installation) has contact info.


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

blah.lyx~ is a backup file automatically created by LyX. Tools->Preferences->Look and feel->User interface has a setting that controls frequency and lets you turn this on or off. #blah.lyx# is, I think, an on-the-fly temporary copy. I'm not sure what prompts LyX to write it, but generally speaking I only find one left behind if LyX exited abnormally.


/Paul

Reply via email to