Re: wrong path on export in windows

2006-05-26 Thread Enrico Forestieri
On Mon, May 22, 2006 at 06:45:19PM +0200, Enrico Forestieri wrote: On Mon, May 22, 2006 at 10:50:40AM +0200, Jean-Marc Lasgouttes wrote: Enrico == Enrico Forestieri [EMAIL PROTECTED] writes: Enrico If it is accepted, someone should apply it, though. Hmm, I lost the patch. Here

Re: wrong path on export in windows

2006-05-26 Thread Enrico Forestieri
On Mon, May 22, 2006 at 06:45:19PM +0200, Enrico Forestieri wrote: > On Mon, May 22, 2006 at 10:50:40AM +0200, Jean-Marc Lasgouttes wrote: > > > > "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: > > > > Enrico> If it is accepted, someone should apply it, though. > > > > Hmm, I

Re: wrong path on export in windows

2006-05-22 Thread Jean-Marc Lasgouttes
Enrico == Enrico Forestieri [EMAIL PROTECTED] writes: Enrico If it is accepted, someone should apply it, though. Hmm, I lost the patch. JMarc

Re: wrong path on export in windows

2006-05-22 Thread Enrico Forestieri
On Mon, May 22, 2006 at 10:50:40AM +0200, Jean-Marc Lasgouttes wrote: Enrico == Enrico Forestieri [EMAIL PROTECTED] writes: Enrico If it is accepted, someone should apply it, though. Hmm, I lost the patch. Here it is again. -- Enrico Index: lib/configure.py

Re: wrong path on export in windows

2006-05-22 Thread Jean-Marc Lasgouttes
> "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: Enrico> If it is accepted, someone should apply it, though. Hmm, I lost the patch. JMarc

Re: wrong path on export in windows

2006-05-22 Thread Enrico Forestieri
On Mon, May 22, 2006 at 10:50:40AM +0200, Jean-Marc Lasgouttes wrote: > > "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: > > Enrico> If it is accepted, someone should apply it, though. > > Hmm, I lost the patch. Here it is again. -- Enrico Index: lib/configure.py

Re: wrong path on export in windows

2006-05-20 Thread Enrico Forestieri
On Thu, May 18, 2006 at 03:20:34PM +0200, Abdelrazak Younes wrote: Enrico Forestieri a écrit : Which one do you prefer? IMHO, always choose the configurable solution (2). Ok, then. Patch attached. Much cleaner than an #ifdef :-) I'm starting to like this python thing... If it is

Re: wrong path on export in windows

2006-05-20 Thread Enrico Forestieri
On Thu, May 18, 2006 at 03:20:34PM +0200, Abdelrazak Younes wrote: > Enrico Forestieri a écrit : > >>> > >>> Which one do you prefer? > >> IMHO, always choose the configurable solution (2). > > > > Ok, then. Patch attached. > > Much cleaner than an #ifdef :-) > I'm starting to like this python

Re: wrong path on export in windows

2006-05-18 Thread Jean-Marc Lasgouttes
Enrico == Enrico Forestieri [EMAIL PROTECTED] writes: I really don't understand, because configure.py actually executes AddToRC(r'\cygwin_path_fix_needed true') but then I don't find it in the rc file. It seems to be vanishing in a bit bucket... Enrico Please, could some kind soul apply the

Re: wrong path on export in windows

2006-05-18 Thread Enrico Forestieri
On Thu, May 18, 2006 at 03:10:39AM +0200, Enrico Forestieri wrote: On Wed, May 17, 2006 at 09:37:57PM +0200, Edwin Leuven wrote: Enrico Forestieri wrote: Have you cygwin installed? nope Please, try the attached patch. Please, disregard this patch, it is ok as it was ;-) The

Re: wrong path on export in windows

2006-05-18 Thread Abdelrazak Younes
Enrico Forestieri a écrit : There are two possible fixes: 1) Set cygwin_path_fix = false for cygwin and cygwin_path_fix = true for win32 in LyXRC::setDefaults(). This would mean using an #idef. 2) Modify configure.py such as to output \cygwin_path_fix_needed true for win32 when

Re: wrong path on export in windows

2006-05-18 Thread Georg Baum
Enrico Forestieri wrote: The problem here is that cygwin_path_fix has a different meaning on win32 and cygwin. When it is true, the paths written to a latex file should be: - in windows style on cygwin - in posix style on win32 This is bad. A particular configuration parameter should have

Re: wrong path on export in windows

2006-05-18 Thread Enrico Forestieri
On Thu, May 18, 2006 at 03:02:34PM +0200, Abdelrazak Younes wrote: Enrico Forestieri a écrit : There are two possible fixes: 1) Set cygwin_path_fix = false for cygwin and cygwin_path_fix = true for win32 in LyXRC::setDefaults(). This would mean using an #idef. 2) Modify

Re: wrong path on export in windows

2006-05-18 Thread Abdelrazak Younes
Enrico Forestieri a écrit : Which one do you prefer? IMHO, always choose the configurable solution (2). Ok, then. Patch attached. Much cleaner than an #ifdef :-) I'm starting to like this python thing... Index:

Re: wrong path on export in windows

2006-05-18 Thread Jean-Marc Lasgouttes
Georg == Georg Baum [EMAIL PROTECTED] writes: Georg Enrico Forestieri wrote: The problem here is that cygwin_path_fix has a different meaning on win32 and cygwin. When it is true, the paths written to a latex file should be: - in windows style on cygwin - in posix style on win32 Georg

Re: wrong path on export in windows

2006-05-18 Thread Enrico Forestieri
On Thu, May 18, 2006 at 03:13:29PM +0200, Georg Baum wrote: Enrico Forestieri wrote: The problem here is that cygwin_path_fix has a different meaning on win32 and cygwin. When it is true, the paths written to a latex file should be: - in windows style on cygwin - in posix style on

Re: wrong path on export in windows

2006-05-18 Thread Enrico Forestieri
On Thu, May 18, 2006 at 03:26:36PM +0200, Jean-Marc Lasgouttes wrote: Georg == Georg Baum [EMAIL PROTECTED] writes: Georg Enrico Forestieri wrote: The problem here is that cygwin_path_fix has a different meaning on win32 and cygwin. When it is true, the paths written to a latex file

Re: wrong path on export in windows

2006-05-18 Thread Jean-Marc Lasgouttes
Enrico == Enrico Forestieri [EMAIL PROTECTED] writes: Enrico As I already said in my reply to Georg, only the rc option Enrico '\cygwin_path_fix_needed' should be renamed as Enrico '\winpaths_for_latex'. This name is not very clear either. And I tend to think that, if you cannot find a good

Re: wrong path on export in windows

2006-05-18 Thread Enrico Forestieri
On Thu, May 18, 2006 at 03:54:19PM +0200, Jean-Marc Lasgouttes wrote: Enrico == Enrico Forestieri [EMAIL PROTECTED] writes: Enrico As I already said in my reply to Georg, only the rc option Enrico '\cygwin_path_fix_needed' should be renamed as Enrico '\winpaths_for_latex'. This name is

Re: wrong path on export in windows

2006-05-18 Thread Jean-Marc Lasgouttes
Enrico == Enrico Forestieri [EMAIL PROTECTED] writes: This name is not very clear either. And I tend to think that, if you cannot find a good name for a feature, this means the feature is not correctly implemented :) Enrico Yea, you mean that marketing is more important than technical

Re: wrong path on export in windows

2006-05-18 Thread Enrico Forestieri
On Thu, May 18, 2006 at 10:57:37PM +0200, Jean-Marc Lasgouttes wrote: Enrico == Enrico Forestieri [EMAIL PROTECTED] writes: This name is not very clear either. And I tend to think that, if you cannot find a good name for a feature, this means the feature is not correctly implemented :)

Re: wrong path on export in windows

2006-05-18 Thread Jean-Marc Lasgouttes
> "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: >> I really don't understand, because configure.py actually executes >> AddToRC(r'\cygwin_path_fix_needed true') but then I don't find it >> in the rc file. It seems to be vanishing in a bit bucket... Enrico> Please, could some kind

Re: wrong path on export in windows

2006-05-18 Thread Enrico Forestieri
On Thu, May 18, 2006 at 03:10:39AM +0200, Enrico Forestieri wrote: > On Wed, May 17, 2006 at 09:37:57PM +0200, Edwin Leuven wrote: > > > Enrico Forestieri wrote: > > > Have you cygwin installed? > > > > nope > > Please, try the attached patch. Please, disregard this patch, it is ok as it was

Re: wrong path on export in windows

2006-05-18 Thread Abdelrazak Younes
Enrico Forestieri a écrit : There are two possible fixes: 1) Set "cygwin_path_fix = false" for cygwin and "cygwin_path_fix = true" for win32 in LyXRC::setDefaults(). This would mean using an #idef. 2) Modify configure.py such as to output "\cygwin_path_fix_needed true" for win32

Re: wrong path on export in windows

2006-05-18 Thread Georg Baum
Enrico Forestieri wrote: > The problem here is that cygwin_path_fix has a different meaning > on win32 and cygwin. When it is true, the paths written to a latex > file should be: > > - in windows style on cygwin > - in posix style on win32 This is bad. A particular configuration parameter

Re: wrong path on export in windows

2006-05-18 Thread Enrico Forestieri
On Thu, May 18, 2006 at 03:02:34PM +0200, Abdelrazak Younes wrote: > Enrico Forestieri a écrit : > > > > There are two possible fixes: > > > > 1) Set "cygwin_path_fix = false" for cygwin and > >"cygwin_path_fix = true" for win32 in LyXRC::setDefaults(). > >This would mean using an

Re: wrong path on export in windows

2006-05-18 Thread Abdelrazak Younes
Enrico Forestieri a écrit : Which one do you prefer? IMHO, always choose the configurable solution (2). Ok, then. Patch attached. Much cleaner than an #ifdef :-) I'm starting to like this python thing... Index:

Re: wrong path on export in windows

2006-05-18 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Enrico Forestieri wrote: >> The problem here is that cygwin_path_fix has a different meaning on >> win32 and cygwin. When it is true, the paths written to a latex >> file should be: >> >> - in windows style on cygwin - in posix style

Re: wrong path on export in windows

2006-05-18 Thread Enrico Forestieri
On Thu, May 18, 2006 at 03:13:29PM +0200, Georg Baum wrote: > Enrico Forestieri wrote: > > > The problem here is that cygwin_path_fix has a different meaning > > on win32 and cygwin. When it is true, the paths written to a latex > > file should be: > > > > - in windows style on cygwin > > - in

Re: wrong path on export in windows

2006-05-18 Thread Enrico Forestieri
On Thu, May 18, 2006 at 03:26:36PM +0200, Jean-Marc Lasgouttes wrote: > > "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: > > Georg> Enrico Forestieri wrote: > >> The problem here is that cygwin_path_fix has a different meaning on > >> win32 and cygwin. When it is true, the paths written

Re: wrong path on export in windows

2006-05-18 Thread Jean-Marc Lasgouttes
> "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: Enrico> As I already said in my reply to Georg, only the rc option Enrico> '\cygwin_path_fix_needed' should be renamed as Enrico> '\winpaths_for_latex'. This name is not very clear either. And I tend to think that, if you cannot

Re: wrong path on export in windows

2006-05-18 Thread Enrico Forestieri
On Thu, May 18, 2006 at 03:54:19PM +0200, Jean-Marc Lasgouttes wrote: > > "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: > > Enrico> As I already said in my reply to Georg, only the rc option > Enrico> '\cygwin_path_fix_needed' should be renamed as > Enrico> '\winpaths_for_latex'.

Re: wrong path on export in windows

2006-05-18 Thread Jean-Marc Lasgouttes
> "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: >> This name is not very clear either. And I tend to think that, if >> you cannot find a good name for a feature, this means the feature >> is not correctly implemented :) Enrico> Yea, you mean that marketing is more important than

Re: wrong path on export in windows

2006-05-18 Thread Enrico Forestieri
On Thu, May 18, 2006 at 10:57:37PM +0200, Jean-Marc Lasgouttes wrote: > > "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: > > >> This name is not very clear either. And I tend to think that, if > >> you cannot find a good name for a feature, this means the feature > >> is not

wrong path on export in windows

2006-05-17 Thread Edwin Leuven
namely \bibliography{/cygdrive/C/data/main} and this is not cygwin of course

Re: wrong path on export in windows

2006-05-17 Thread Enrico Forestieri
On Wed, May 17, 2006 at 09:00:19PM +0200, Edwin Leuven wrote: namely \bibliography{/cygdrive/C/data/main} and this is not cygwin of course Have you cygwin installed? -- Enrico

Re: wrong path on export in windows

2006-05-17 Thread Edwin Leuven
Enrico Forestieri wrote: Have you cygwin installed? nope

Re: wrong path on export in windows

2006-05-17 Thread Enrico Forestieri
On Wed, May 17, 2006 at 09:37:57PM +0200, Edwin Leuven wrote: Enrico Forestieri wrote: Have you cygwin installed? nope General screw up! It doesn't work for me on cygwin, too. This must be related to the suppression of the system lyxrc.defaults. I don't have anymore \cygwin_path_fix_needed

Re: wrong path on export in windows

2006-05-17 Thread Enrico Forestieri
On Wed, May 17, 2006 at 09:37:57PM +0200, Edwin Leuven wrote: Enrico Forestieri wrote: Have you cygwin installed? nope Please, try the attached patch. -- Enrico Index: src/support/os_win32.C === --- src/support/os_win32.C

Re: wrong path on export in windows

2006-05-17 Thread Enrico Forestieri
On Wed, May 17, 2006 at 10:27:45PM +0200, Enrico Forestieri wrote: On Wed, May 17, 2006 at 09:37:57PM +0200, Edwin Leuven wrote: Enrico Forestieri wrote: Have you cygwin installed? nope General screw up! It doesn't work for me on cygwin, too. This must be related to the suppression

wrong path on export in windows

2006-05-17 Thread Edwin Leuven
namely \bibliography{/cygdrive/C/data/main} and this is not cygwin of course

Re: wrong path on export in windows

2006-05-17 Thread Enrico Forestieri
On Wed, May 17, 2006 at 09:00:19PM +0200, Edwin Leuven wrote: > namely > > \bibliography{/cygdrive/C/data/main} > > and this is not cygwin of course Have you cygwin installed? -- Enrico

Re: wrong path on export in windows

2006-05-17 Thread Edwin Leuven
Enrico Forestieri wrote: Have you cygwin installed? nope

Re: wrong path on export in windows

2006-05-17 Thread Enrico Forestieri
On Wed, May 17, 2006 at 09:37:57PM +0200, Edwin Leuven wrote: > Enrico Forestieri wrote: > >Have you cygwin installed? > > nope General screw up! It doesn't work for me on cygwin, too. This must be related to the suppression of the system lyxrc.defaults. I don't have anymore

Re: wrong path on export in windows

2006-05-17 Thread Enrico Forestieri
On Wed, May 17, 2006 at 09:37:57PM +0200, Edwin Leuven wrote: > Enrico Forestieri wrote: > > Have you cygwin installed? > > nope Please, try the attached patch. -- Enrico Index: src/support/os_win32.C === ---

Re: wrong path on export in windows

2006-05-17 Thread Enrico Forestieri
On Wed, May 17, 2006 at 10:27:45PM +0200, Enrico Forestieri wrote: > On Wed, May 17, 2006 at 09:37:57PM +0200, Edwin Leuven wrote: > > Enrico Forestieri wrote: > > >Have you cygwin installed? > > > > nope > > General screw up! It doesn't work for me on cygwin, too. > This must be related to the