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 change this setting.
That is not a problem of LyX, but a problem of photoshop and gimp. > The user could of course set an adequate image viewer manually but I > think this is a bit uncomfortable: editing lyxrc.dist, edit the viewer > and editor for all image formats. Nope. The user should use Tools->Preferences. lyxrc.dist is only for settings made by the installer, e.g. OS specific settings. > I just wonder why configure.py prints something like: > "checking for text editor: vim ... no" > But I have vim installed. When I add the correct executable for vim to > configure.py, it finds it. I repeat myself: Expect that part of configure.py to go once we are able to use the OS default editors/viwers also on unix. > I have the problem that I have three adequate editors for TeX-files > installed but have no menu entry for View -> LaTeX(plain) and > View -> Text because configure.py doesn't set them and doesn't find > them. It only checks for notepad but sets it as editor, not as viewer. > Notepad is not suitable to edit TeX-files. So why not check for other > more adequated programs to edit/view TeX-files (programs that have > syntax highlighting for TeX)? I implemented this in the installer for > LyX 1.4.1 with positive feedback. It seems like you still not got it: You can imagine many situations where the existing file associations in windows are not correct for LyX, and where configure.py could repair that, but _we do not want that_. We do not want a parallel program configuration in LyX. We do want the global OS configuration to be correct, and want to use it. Concerning this last example: If you have a suitable editor for .tex files installed, associate it with .tex files in windows, and LyX will use it. This is different than the previous behaviour, but we all agreed that it is better, because it is simple: If LyX uses the wrong (or no) editor/viewer for a certain file format this can have two reasons: 1) The global file association is wrong or does not exist -> fix that 2) You want only in LyX a different program, but the global association is correct for general use -> enter that program manually in the LyX preferences. This can not be automated, since we do not know what the user wants. Georg