Am Montag, 24. April 2006 20:49 schrieb Bo Peng: > What I am concerned with is that if, for example, acrobat reader is > not found, the viewer for pdf will be empty, and view->pdflatex etc > will be gone. Will your patch change this behavior? (I used "auto" > viewer to avoid this problem.)
The patch will not change that, I overlooked this problem. This certainly needs discussion: Do we really want View->XYZ entries for lots of formats that no user uses? Imagine a user who has no DVI viewer and does not want one. Why should he have View->DVI? I think the suggested canOpen() function is not too bad. > > We could think of removing windows viewers from configure.py to ensure > > this in all cases. > > No, allowing users to specify a viewer, regardless windows' default, > is sometimes useful. Of course, and I don't want to remove that. I suggested to remove the windows viewers from configure.py, meaning that no autodetection happens on windows, but users can still set their own viewer. > I have another question. I really would like the shellExecute thing to > go to 1.4.2 since it simplifies the installation and usage of lyx/win > a lot. Will your patch go to 1.4.x any time soon? I don't think so, since 1.4 should keep the 1.3 compatibility code for reading the rc file. You have to ask Jean-Marc if you want a definite answer. Georg