> > temp directory when the "Unable to find ..." message is generated.
> > The path and file name are correct.
> 
> Good. So we have probably nailed down the problem. The file is 
> generated correctly but LyX itself is unable to understand this 
> 'mixed language' file name 'C:/foo/bar.ppm'.

Maybe it's not LyX, but LaTeX?

I had a similar problem with the CVS lyx and had to apply the following patch:

$ cvs diff -u src/support/os_win32.C 
Index: src/support/os_win32.C
===================================================================
RCS file: /cvs/lyx/lyx-devel/src/support/os_win32.C,v
retrieving revision 1.13
diff -u -r1.13 os_win32.C
--- src/support/os_win32.C      2003/10/08 08:38:05     1.13
+++ src/support/os_win32.C      2003/10/27 22:36:47
@@ -108,8 +108,9 @@
 
 string external_path(string const & p)
 {
+       char const * const disable_cygwin_fixup = getenv("LYX_NO_CYGPATH_FIX");
        string dos_path = p;
-       if (is_absolute_path(p)) {
+       if ((! disable_cygwin_fixup) && is_absolute_path(p)) {
                char dp[255];
                cygwin_conv_to_full_win32_path(p.c_str(), dp);
                dos_path = subst(dp,'\\','/');

I run with the environment variable LYX_NO_CYGPATH_FIX defined
and things work.

I may be right, or I may be crazy.
But it just might be a lunatic you're looking for...

                        ---Kayvan
-- 
Kayvan A. Sylvan          | Proud husband of       | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)

Reply via email to