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 windows
application can view pdf, why should lyx be blamed for not doing so?
You are right. The problem was that I had installed Acrobat and GSview;
then I uninstalled Acrobat so that GSview remains but there is no longer
a registry entry for the default PDF-viewer as it was removed with the
uninstallation of Acrobat. To fix this I have to reinstall GSview.
But here's a real problem a collegue reported me: If you only have
Acrobat installed the default program to handle PS-files is Acrobat's
distiller. That means when you want to view the LyX-file as PS, it is
automatically converted to a PDF and then shown by Acrobat. I'm not sure
if we shouldn't avoid this.
- The default image editor is always MS Paint, no matter if you have
installed the Gimp or Photoshop. And with Paint you can't really edit
images.
Again, we now hand viewer and editor business to the windows and mac
os, and free ourselves from the headache. It is not terribly difficult
to set the viewer and editor you want *after* lyx is installed. You
prefer photoshop over paint, but some others may want the opposite.
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.
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.
To fix the wrong executables names in configure.py I thaught I could
send a patched version. But if LyX don't accept it, I have to wait until
LyX 1.4.3 to have this fixed, is that correct?
Sorry that I have not read your patch.. but executable names are
irrelevant under windows now.
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 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.
regards Uwe