>>Date: Mon, 23 Oct 2006 20:36:08 +0200 >>From: "Julio Rojas" <[EMAIL PROTECTED]> >>To: LyXFolks <[email protected]> >>Subject: Re: ImageMagick and OSX (PPC) >> >>I have added the $MAGICK_HOME variable, which was missing, and now >>"convert" works fine. >> >>If I run LyX directly from the icon the rendering doesn't work, but if >>I run it from the command line with the debbuging graphics option, the >>rendering works. >> >>Weird!!! Any idea?
Probably the icon starts lyx in sh, which ignores the env variables. Try to find where the file associations are triggered by the file manager and replace lyx <file arg> with e.g. csh -c 'lyx <file arg>' or whatever shell wich understands the env variables. OR wrap lyx call in a command like #! /bin/csh lyx-1.4.3 $1 exit after renaming lyx command as lyx-1.4.3 -- Jean-Pierre
