In <[EMAIL PROTECTED]>, Angus Leeming <[EMAIL PROTECTED]> typed: > >> Open file by extension is a very common practice > >> under windows. Under linux/unix, we also only need to keep track of > >> command names, not their pathes. > > > > BTW, it is very un-windows when someone has to set > > c:\progra~1\acrobat\reader\.... to let lyx view pdf files. > > > > Bo > > Sure. The Windows way would be to define a viewer in lyxrc.defaults as > > \viewer pdf "open $$i" > > because the user will already have associated a .pdf extension with > something like AcroRd32.exe.
I thought the command on windows was "start". Then again, I use windows only under great duress, and charge extra for it. The same thing works for OS X. It also works for Unix if you've got the "open" utility. With Unix and Mac OS X, open can be found on the path. Is the same true for Windows? Of course, that only deals with opening files for viewing. LyX also needs to deal with commands that convert files between types, like pdflatex, latex2html, dvipdf2m, gif2pdf, etc. The unix open will deal with this (well, the CVS version will). The OS X open won't. Will the Windows open? <mike -- Mike Meyer <[EMAIL PROTECTED]> http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information.