Angus Leeming <[EMAIL PROTECTED]> writes: > > Enrico Forestieri wrote: > > Helge Hafting <helge.hafting <at> ...> writes: > > To avoid double quoting the ~ character should be used. So: > > lyx.exe "%~1" "%~2" "%~3" "%~4" "%~5" "%~6" "%~7" "%~8" "%~9" > > works as expected. > > Excellent! Done. > > I'll upload Version 15 ASAP. It has this lyx.bat and a reLyX.bat for you > > Angus
Thank you Angus, however I think it is better to simply use lyx.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 otherwise lyx.exe would get called like this: lyx.exe "file.lyx" "" "" "" "" "" "" "" "" and it would ask you if you want to create a file with no name for eight times! This is not harmful, because you should take care to quote the file if it has spaces (the explorer windows always quote the filenames they pass in). On the other hand, if you omit the quotes and use: lyx.exe %~1 %~2 %~3 %~4 %~5 %~6 %~7 %~8 %~9 then if a passed argument was quoted it gets unquoted and problems arise if there were spaces. I really hate Windows :-( As regards v15 I just tried it. 1) I have no LANG variable set in my preferences, but when starting a cmd.exe it is automatically set to my locale, so I cannot really choose a different language for the lyx GUI, unless modifying lyx.bat. 2) The reLyX script is not catched by the configure script, so I have no menu entries for importing a latex file (to fix this, the <LyXdir>/bin directory should be in the path the moment configure is called). 3) There still is the problem with symlinks in cygwin preventing to run successfully Edit->Reconfigure if one has miktex (it is not a problem with the cygwin latex package). Please, keep in mind that I am reporting this to help you fine tuning the installer for the casual user, as I am able to fix these small problems for myself. Thank you all again for your great work! Enrico