Gilles Moyse writes: > Thank you Scott for your answer. Indeed, I forgot to remove the code > from the preamble, sorry for that. Moreover, since you told me that ERT > and relative paths could be the key, I removed the "\includegraphics"and > replaced them include the graphics with its Lyx version through Insert / > Graphics, and it worked under Windows. > > To conclude, relative paths in ERT work correctly with Linux, not with > Windows, which is somewhat related to the bug > http://www.lyx.org/trac/ticket/1751
I rather think that you are hit by http://www.lyx.org/trac/ticket/9453 which should be fixed in lyx 2.1.4. -- Enrico