Dear LyX developers,
Under windows (at least), the paths to the viewers configured under
Preferences->File_Formats->Viewer
cannot contain spaces. In most installations, at least acrobat reader will
be under "C:\Program Files", and cannot be used. As a workaround I created
.bat files that call the actual viewers and placed them under "C:\Programs",
but it would be nice not to have to resort to such hacks.
You can actually configure a viewer with spaces in the pathname by placing
it inside double quotes, and it will work, but only until you restart LyX.
The problem in the parsing of the preferences file, as such pathname will be
stored as in this example:
\format "eps" "eps" "EPS" "" ""C:\Program Files\gsview\gsview32.exe"" ""
I have tried manually adding different styles of escaping, but without
success...
Best regards.
Rui Prior