On Tue, Feb 10, 2004 at 05:35:53PM +0200, Sivan Toledo wrote: > Also, I think that the run-time configure script could use a little > upgrade on Windows. This is because the path names that LyX emits now > (e.g. inside generated LaTeX files) are good for Win32 TeX's (I use > fpTeX), but they do not work with the cygwin teTeX. It would be better > to figure out at configure time what the LaTeX engine expects and to > emit paths accordingly.
Yes. This is a problem that I work around with this patch: 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 2004/02/10 16:49:03 @@ -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,'\\','/'); Then I set the LYX_NO_CYGPATH_FIX variable to have cygwin's tetex work with LyX. If we fix the configure process so that LyX can do the right thing dependon on the latex installation, then I would not need such a kludge. > But my setup works beautifully, including in Hebrew. Fantastic! Great job! ---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)