Hi,
When I add a viewer to lyxrc.defaults (using configure.py), it has no
effect whenever the file type is also associated with a viewer in
Windows. The viewer will be set to 'auto'.
It looks like this is done because there are still checks for UNIX
viewers in configure.py and the Windows settings should of course
override that.
However this makes it impossible to add a viewer in configure.py when
there already is a Windows viewer. I would like to be able to use a
script as viewer that does open the standard Windows viewer but works
around Adobe Readers' file locking. This will become a part of the
Windows installer, so adding an entry to the preferences is not an option.
Possible solutions I can think of are:
* Getting rid of the whole viewer checks in configure.py on Windows (the
application names are only for UNIX anyway) so there is no need anymore
to override viewers by auto-detection.
* Adding an option (maybe just a character before the filename) to
override the auto-detection.
Any comments or patches :) ?
Regards,
Joost