On Sep 16, 2010, at 15:47, Ola Leifler wrote: > > 14 sep 2010 kl. 17.45 skrev Maxwell, Adam R: > >> >> On Sep 14, 2010, at 08:26, Ola Leifler wrote: >> >>> My ~/.MacOSX/environment.plist contained some settings, but even after I >>> remove that file and restarted the Finder, the same thing happens: pdflatex >>> cannot be invoked. >> >> That file was my next guess; I hate environment.plist, and I believe that >> you need to log out and log in again for changes to it to take effect. If >> that is the culprit, please post the relevant environment variables. >> > > Yup, restarting the Finder did not do the trick as I first thought it would, > but logging out and logging in again did solve it (actually, my battery died, > so I had to do a cold reboot). The setting that I believe must have been the > culprit was TEXINPUTS: It pointed to an old teTeX installation and did not > contain the current directory (.). Setting TEXINPUTS to the right value from > the command line helped (actually, the value of TEXINPUTS is correctly > defined in a ~/.shenv file I include for login shells, but I tested to set it > explicitly when invoking BibDesk to make sure), and I could reproduce the > exact same error as when BibDesk was launched from the Finder by setting > TEXINPUTS to the value in environment.plist. That kind of settles it I guess. > Thanks for your help! > > /Ola > > PS I now know Aquamacs uses the environment defined by the login shell and > doesn't care about environment.plist and therefore it took me some time to > figure out the difference: Why was it that Aquamacs could launch pdflatex but > not BibDesk? DS > >> thanks, >> Adam
The difference is probably because Aquamacs is not a Cocoa app, but is based on the Unix program emacs. All Cocoa apps completely ignore the user shell config files, and use environment.plist instead. Christiaan ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Bibdesk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bibdesk-users
