On 17 Nov 1999 17:04:41 +0100, Jean-Marc Lasgouttes wrote: >>>>>> "Amir" == Amir Karger <[EMAIL PROTECTED]> writes: > >Amir> We *could* search in @INC for syntax.default, and it's somewhat >Amir> doubtful that there would be a file called syntax.default in, >Amir> say, /usr/lib/perl, but that doesn't really seem like the Right >Amir> Way to handle this, IMO. Which is why we created $lyxdir in the >Amir> first place. > >OK, a simpler way then: is it possible for reLyXmain.pl to know in >which directory it is? This does not seem like too much to ask... Then >we could just set $lyxdir to point to that (more or less). > >Doable? Easy? > >JMarc Support this. In order to call relyx.cmd in place with an absolute pathname, i.e. without installing it in binary search path, I had to temporarily change the cwd. The absolute pathname call is safer for updating, etc., so that you won't be surprised by several instances of reLyX floating around. Greets, Arnd