Enrico Forestieri wrote:

> No, it is not because of that. The point is that
> lyx::support::latex_path() calls ChangeExtensions, which in turn
> calls internal_path(), which would turn the path into posix in
> cygwin.

I see. Calling internal_path() in ChangeExtension seems wrong to me. I'll
have a look if that can be changed. ChangeExtension (and all other file
name manipulating) should IMO not need to change the path format.

> Please, attached find the patch satifying your requests. All
> internal paths are in posix style. External and latex paths may
> be posix or windows style depending on cygwin_path_fix, exactly
> as it was.
> 
> I have not introduced any new boolean and substantially left
> things as they were. Only, all bugs are now corrected and there
> is no mess of internal paths.

Excellent. I'll have a look at it tonight.


Georg

Reply via email to