>>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
Angus> Jean-Marc, it appears that LyX is outputting filenames from the Angus> graphics conversion code which are a weird mixture of Win32 and Angus> Unix. Stuff like 'C:/foo/bar/file.eps' should obviously be Angus> 'C:\foo\bar\file.eps'. Angus> The real fix is to find the problem in the LyX sources Angus> themselves, but the attached patch modifies convertDefault.sh Angus> to sanitize the file names passed to it. I'm not sure what you Angus> think of such a thing. My problem with it is that in only works when falling back to convertDefault.sh. I guess similar problems can also occur when using real converters... Does the problem occur with cygwin, or only mingw? In the former case, you may want to ask kayvan for help, but in the later it will not be useful to fix anything unless you manage to contact Ruurd (who is the only one who knows about those native windows releases); I do not know whether he plans to continue making his releases. Angus> The patch also fixes a real bug in convertDefault.sh. We check Angus> that the generated file really exists before telling the Angus> outside world that all is Ok. This check uses 'cut' and will Angus> fail when presented with Win32 file names (looks for a file Angus> called 'C' rather than for 'C:\foo\bar\file.eps'). Angus> Is it Ok to apply the second part (I'll apply it to the devel Angus> branch also.) Yes, this part is OK. There is also something that I do not like much: the '-depth 8' argument. I think it means we output degraded images, even in printed versions. JMarc
