* Kei Ishii <[EMAIL PROTECTED]>, 2005-08-03 16:30 +0200:
> Dear list,
> 
> after unsucessfully searching the list for remedies, I am afraid to  
> bother you
> regarding this apparently well-known error.
> 
> System: lyx-1.3.6 with fink TeTeX/Ghostscript/ImageMagick
>         on Mac OS X 10.4.2 (german) with UI language set to english
> 
> The problem is very weird:
> - When starting LyX from the Finder, no image is displayed, with the  
> dreadful
>   "error converting to loadable format" shown. Testcase is the Help- 
> >Extended
>   Features file (moebius.eps in chapter 3.8)
> 
> - OTOH, when starting lyx in the terminal from the application  
> package (with
>   or without the "-dbg graphics"), then lyx presents the *german*  
> interface,
>   and all images appear fine.

$PATH issue. 

> What I have already tried:
> - Path in both .MacOSX/environment.plist and Lyx->Preferences->Paths- 
> >PATH prefix
>   includes /sw/bin
> - Link /sw/bin/convert to /usr/local/bin/convert
> - created an eps to png converter ("/sw/bin/convert -depth 8 $$i $ 
> $o") in Preferences
> - Entered this converter also in the "preferences" file in the  
> Application package
>   (Application Support/LyX/preferences of course has it already)
> - Changed "defaultConvert.sh" so that convert has absolute path (/sw/ 
> bin/convert).

Did you log out and in after changing ~/.MacOS/environment.plist?
That's mandatory.

FYI, here's my ~/.MacOS/environment.plist (not using fink but
darwinports):

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" 
"http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
<plist version="1.0">
<dict>
        <key>DISPLAY</key>
        <string>:0.0</string>
        <key>PATH</key>
        
<string>/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/X11R6/bin:/Developer/Tools:/Library/Tcl/bin:/usr/local/aolserver/bin</string>
        <key>LANG</key>
        <string>en</string>
        <key>LANGUAGE</key>
        <string>en</string>
</dict>
</plist>

Replace the PATH string with your working $PATH from your shell, log
in and out. Edit>Reconfigure LyX, restart LyX. Does it work now?

-Andre

Reply via email to