Re: help needed with configure.py and lyxrc.defaults

2006-07-24 Thread Uwe Stöhr
I wrote: I meant that configure.py should set not only the editor but also a viewer for TeX-files. I think it would be usefula for many users to have an entry "Plain text" in the view menu and therefore reported this as bug 2706: http://bugzilla.lyx.org/show_bug.cgi?id=2706 regards Uwe

Re: help needed with configure.py and lyxrc.defaults

2006-07-24 Thread Georg Baum
Uwe Stöhr wrote: > Yes ,but my intention is to make things as easy as possible for the > user. And if we can do this easily with the installer why not. I know > that you disagree with me in this case but I have enough experiences > with users that ask me everytime the same: "program x is not > rec

Re: help needed with configure.py and lyxrc.defaults

2006-07-23 Thread Uwe Stöhr
Georg Baum schrieb: OK I understand that everybody has other preferences. I just thaught why did users pay a lot for Photoshop when LyX opens images with MSpaint. MSPaint is always the default image editor, programs like The GIMP and Photoshop doesn't change this setting. That is not a probl

Re: help needed with configure.py and lyxrc.defaults

2006-07-23 Thread Georg Baum
Am Sonntag, 23. Juli 2006 14:26 schrieb Uwe Stöhr: > OK I understand that everybody has other preferences. I just thaught why > did users pay a lot for Photoshop when LyX opens images with MSpaint. > MSPaint is always the default image editor, programs like The GIMP and > Photoshop doesn't chan

Re: help needed with configure.py and lyxrc.defaults

2006-07-23 Thread Uwe Stöhr
Sorry for the delay. Bo Peng wrote: - After installing LyX I'm not able to view PDF's because there is no default viewer for PDF although GSview is installed. I am not quite sure if this is the case, but first, you can set the viewer by yourself after lyx is installed. Second, if no other win

Re: help needed with configure.py and lyxrc.defaults

2006-07-19 Thread Enrico Forestieri
On Wed, Jul 19, 2006 at 04:23:03PM +0200, Joost Verburg wrote: > >Sorry that I have not read your patch.. but executable names are > >irrelevant under windows now. > > They are only relevant for Cygwin. No, the behavior is the same on Cygwin. Executables discovered by configure.py are relevant

Re: help needed with configure.py and lyxrc.defaults

2006-07-19 Thread Joost Verburg
- After installing LyX I'm not able to view PDF's because there is no default viewer for PDF although GSview is installed. GSview asks you whether it should be the default viewer for PDF. - The default image editor is always MS Paint, no matter if you have installed the Gimp or Photoshop. And

Re: help needed with configure.py and lyxrc.defaults

2006-07-19 Thread Angus Leeming
Bo Peng <[EMAIL PROTECTED]> writes: > Sorry that I have not read your patch.. but executable names are > irrelevant under windows now. ... and that's as it should be. Windows provides this mechanism to associate a viewer with a file format and we should use it. All this probing for particular a

Re: help needed with configure.py and lyxrc.defaults

2006-07-19 Thread Georg Baum
Uwe Stöhr wrote: > Georg Baum schrieb: > >>> So why does LyX not use this setting? >> >> That is by design. If you want to customize settings, use the preferences >> file. configure.py is not meant to be modified. If the OS provides a >> default viewer for a format then that is used instead of t

Re: help needed with configure.py and lyxrc.defaults

2006-07-19 Thread Bo Peng
- After installing LyX I'm not able to view PDF's because there is no default viewer for PDF although GSview is installed. I am not quite sure if this is the case, but first, you can set the viewer by yourself after lyx is installed. Second, if no other windows application can view pdf, why shou

Re: help needed with configure.py and lyxrc.defaults

2006-07-19 Thread Uwe Stöhr
Georg Baum schrieb: So why does LyX not use this setting? That is by design. If you want to customize settings, use the preferences file. configure.py is not meant to be modified. If the OS provides a default viewer for a format then that is used instead of the one detected by configure.py.

Re: help needed with configure.py and lyxrc.defaults

2006-07-18 Thread Georg Baum
Uwe Stöhr wrote: > So why does LyX not use this setting? > > Btw. this bug does not occur for PGM-images, where gimp-2.2 remains > after the restart of LyX - strange. > > Could anybody help me? That is by design. If you want to customize settings, use the preferences file. configure.py is not m

help needed with configure.py and lyxrc.defaults

2006-07-18 Thread Uwe Stöhr
I have the problem that LyX 1.4.2 doesn't use the settings written by configure.py to lyxrc.defaults. As I'm on Windows I added the correct names of the win executables to configure.py. My configure.py contains the line: path, ie = checkViewer('a raster image editor', ['gimp', 'gimp-2.2', 'g